Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 73ebdda

Browse files
author
Sashko Stubailo
committed
Fix test on node 4
1 parent a234593 commit 73ebdda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

knexfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Since Knex always runs this file first, all of our seeds and migrations are babelified.
22
require('babel-register');
33

4-
const { parse } = require('pg-connection-string');
4+
const parse = require('pg-connection-string').parse;
55

6-
const { DATABASE_URL } = process.env;
6+
const DATABASE_URL = process.env.DATABASE_URL;
77

88
module.exports = {
99
development: {

0 commit comments

Comments
 (0)