Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit ba75fb9

Browse files
committed
ci(circle): Enables builds without passwords.
1 parent 9f0cdbf commit ba75fb9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/facade.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ const db = connectToDb({
1111
connection: {
1212
database: process.env.KNEX_DATABASE,
1313
host: '127.0.0.1',
14+
...(process.env.KNEX_PASSWORD === undefined ? {} : {
15+
password: process.env.KNEX_PASSWORD,
16+
}),
1417
user: process.env.KNEX_USER,
1518
},
1619
});

0 commit comments

Comments
 (0)