Skip to content
This repository was archived by the owner on Feb 6, 2019. It is now read-only.

Commit a75216b

Browse files
committed
Resolve the config file from CHILL_CONFIG env in the knexfile
1 parent af008a6 commit a75216b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

knexfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require('babel-register');
22

33
const config = require('./src/config/config');
4-
const dbConfig = config.resolve().db;
4+
const dbConfig = config.resolve(process.env.CHILL_CONFIG).db;
55

66
module.exports = Object.assign({}, dbConfig, {
77
migrations: {

0 commit comments

Comments
 (0)