Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel <5673677+mtrezza@users.noreply.github.com>
  • Loading branch information
mtrezza committed May 14, 2024
1 parent f2a858d commit f6f317b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/cli/utils/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ function logStartupOptions(options) {
return;
}
// Keys that may include sensitive information that will be redacted in logs
const keysToRedact = ['databaseAdapter', 'databaseURI', 'masterKey', 'maintenanceKey', 'push'];
const keysToRedact = [
'databaseAdapter',
'databaseURI',
'masterKey',
'maintenanceKey',
'push',
];
for (const key in options) {
let value = options[key];
if (keysToRedact.includes(key)) {
Expand Down

0 comments on commit f6f317b

Please sign in to comment.