mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
parent
a3074e9d54
commit
4925172530
@ -6,7 +6,7 @@ var pgPath;
|
||||
try {
|
||||
pgPath = path.dirname(require.resolve('pg'))
|
||||
} catch(e) {
|
||||
pgPath = path.dirname(require.resolve('pg.js'))
|
||||
pgPath = path.dirname(require.resolve('pg.js')) + '/lib'
|
||||
}
|
||||
|
||||
module.exports = require(path.join(pgPath, 'lib', 'result.js'))
|
||||
module.exports = require(path.join(pgPath, 'result.js'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user