We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a4ed5a commit e588f8bCopy full SHA for e588f8b
src/node/cli.ts
@@ -310,10 +310,12 @@ export const parse = (
310
throw error(`Unknown option ${arg}`)
311
}
312
313
+ // TODO@jsjoeio add test for this if block
314
if (key === "password" && !opts?.configFile) {
315
throw new Error("--password can only be set in the config file or passed in via $PASSWORD")
316
317
318
319
if (key === "hashed-password" && !opts?.configFile) {
320
throw new Error("--hashed-password can only be set in the config file or passed in via $HASHED_PASSWORD")
321
0 commit comments