Skip to content

Commit

Permalink
#1643: fix return values
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Sep 2, 2024
1 parent 1cde2c1 commit b823ac5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion @types/lib/metadataTypes/MetadataType.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions lib/metadataTypes/MetadataType.js
Original file line number Diff line number Diff line change
Expand Up @@ -2819,9 +2819,7 @@ class MetadataType {
},
};

let rule;

for (rule of Object.keys(validations)) {
for (const rule of Object.keys(validations)) {
if (
validationConfig[rule] &&
validationConfig[rule] !== 'off' &&
Expand All @@ -2839,7 +2837,7 @@ class MetadataType {
}
}
}
rule = 'noGuidKeys';
return item;
}
}

Expand Down

0 comments on commit b823ac5

Please sign in to comment.