Strip config file password from debug log

This commit is contained in:
Asher 2020-10-16 12:31:22 -05:00
parent 9f25cc6d5d
commit 8e93e28162
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ export const parse = (
throw new Error("--cert-key is missing") throw new Error("--cert-key is missing")
} }
logger.debug("parsed command line", field("args", args)) logger.debug(() => ["parsed command line", field("args", { ...args, password: undefined })])
return args return args
} }