Merge pull request #27 from akheron/fix-purs-bundle

FFI: Fix `purs bundle` output
This commit is contained in:
paluh 2018-10-22 16:54:54 +02:00 committed by GitHub
commit 1fd636dc1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,8 +4,8 @@
// value to js Date, so we have
// to prevent this craziness
var pg = require('pg');
var DATE_OID = 1082;
pg.types.setTypeParser(DATE_OID, function(dateString) { return dateString; });
pg.types.setTypeParser(1082 /* DATE_OID */, function(dateString) { return dateString; });
exports['null'] = null;