From 7e0b929d3c0e33123bc8956e4c05f86a725ad180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Tue, 30 May 2023 15:14:49 +0200 Subject: [PATCH] #800: remove outdated check (replaced by definition.documentInOneFile) --- lib/metadataTypes/User.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/metadataTypes/User.js b/lib/metadataTypes/User.js index 49b44d8f9..59701f082 100644 --- a/lib/metadataTypes/User.js +++ b/lib/metadataTypes/User.js @@ -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 {