1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 13:15:25 +00:00

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

View File

@ -334,7 +334,7 @@ export const parse = (
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
}