Skip to content

Commit

Permalink
#0: ran lint:fix and applied manual fix based on it
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Jan 10, 2024
1 parent f85af36 commit 248d60b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Retriever.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ class Retriever {
const subTypeArr = deployOrder[type];
// if types were added by getMetadataHierachy() for caching, make sure the key-list is set to [null] for them which will retrieve all
// if we have a subtype, we need to find the correct key-list for it
typeKeyMap[type] = typeKeyMap[type] ||
typeKeyMap[Object.keys(typeKeyMap).find((k) => k.startsWith(type + '-'))] || [null];
typeKeyMap[type] ||= typeKeyMap[
Object.keys(typeKeyMap).find((k) => k.startsWith(type + '-'))
] || [null];

// add client to metadata process class instead of passing every time
MetadataTypeInfo[type].client = auth.getSDK(this.buObject);
Expand Down

0 comments on commit 248d60b

Please sign in to comment.