Skip to content

Commit 8e93e28

Browse files
committed
Strip config file password from debug log
1 parent 9f25cc6 commit 8e93e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ export const parse = (
334334
throw new Error("--cert-key is missing")
335335
}
336336

337-
logger.debug("parsed command line", field("args", args))
337+
logger.debug(() => ["parsed command line", field("args", { ...args, password: undefined })])
338338

339339
return args
340340
}

0 commit comments

Comments
 (0)