config fixes
This commit is contained in:
parent
426c2f2adf
commit
220a68fcfa
5 changed files with 10 additions and 6 deletions
|
|
@ -2,7 +2,12 @@
|
|||
|
||||
var pg = require('pg');
|
||||
var async = require('async');
|
||||
var psqlUrl = require('../lib/options').postgres
|
||||
var psqlUrl = require('../lib/options').postgresql
|
||||
|
||||
if (psqlUrl) {
|
||||
console.log('No postgresql entry in config file')
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
exports.query = function query(sql, cb) {
|
||||
exports.multi([sql], cb);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue