Skip to content

Commit

Permalink
#1272: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Apr 19, 2024
1 parent 4caaad5 commit 4eaaf0b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ yargs(hideBin(process.argv))
Mcdev.setOptions(argv);
const typeKeyCombo = metadataToTypeKey(argv.metadata);
if ('undefined' === typeof typeKeyCombo) {
console.log('type/key');
Mcdev.retrieve(argv.BU, csvToArray(argv.TYPE), csvToArray(argv.KEY));
} else {
console.log('typeKeyCombo', typeKeyCombo);
Mcdev.retrieve(argv.BU, typeKeyCombo);
}
},
Expand Down Expand Up @@ -734,7 +732,6 @@ function metadataToTypeKey(
allowedIdentifiers = ['key', 'id', 'name'],
firstOnly = false
) {
console.log('metadataToTypeKey-a', metadataOption); // eslint-disable-line no-console
if (!metadataOption) {
return;
} else if (!Array.isArray(metadataOption)) {
Expand Down Expand Up @@ -799,7 +796,6 @@ function metadataToTypeKey(
}
}
}
console.log('metadataToTypeKey-b', response); // eslint-disable-line no-console

return Object.keys(response).length >= 1 ? response : undefined;
}

0 comments on commit 4eaaf0b

Please sign in to comment.