Skip to content

Commit 67e44b8

Browse files
committed
fix: do not ask password
1 parent 9754123 commit 67e44b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/utils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ export function getCommand({ docker, knexConfig: { connection } }, command) {
4242
args.push(`--username "${connection.user}"`)
4343
}
4444

45+
if (connection.password) {
46+
args.push('--no-password')
47+
}
48+
4549
args.push(connection.database)
4650

4751
return args.join(' ')

0 commit comments

Comments
 (0)