no longer explode if native module didn't build correctly
This commit is contained in:
parent
f815c990c3
commit
c72dea82d9
@ -8,6 +8,9 @@ module.exports = {
|
||||
Connection: require(__dirname + '/connection'),
|
||||
connect: pool.connect,
|
||||
end: pool.end,
|
||||
defaults: defaults,
|
||||
native: require(__dirname + '/native')
|
||||
defaults: defaults
|
||||
}
|
||||
|
||||
module.exports.__defineGetter__("native", function() {
|
||||
return require('native');
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user