Skip to content

Commit

Permalink
#800: remove outdated check (replaced by definition.documentInOneFile)
Browse files Browse the repository at this point in the history
JoernBerkefeld committed May 30, 2023
1 parent 1646d29 commit 7e0b929
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/metadataTypes/User.js
Original file line number Diff line number Diff line change
@@ -938,14 +938,6 @@ class User extends MetadataType {
return;
}

// if ran as part of retrieve/deploy with key, exit here
if (metadata && Object.keys(metadata).length === 1) {
Util.logger.debug(
'Only 1 user found. Skipping documentation, assuming we ran retrieve-by-key.'
);
return;
}

if (!metadata) {
// load users from disk if document was called directly and not part of a retrieve
try {

0 comments on commit 7e0b929

Please sign in to comment.