PG: Fixes issues comparing to zero or false (#4667)
* initial test * more test * clean up * added correct errors * test fix * $eq null test * type check
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const pkg = require('./package.json');
|
||||
|
||||
const version = parseFloat( process.version.substr(1) );
|
||||
const minimum = parseFloat( pkg.engines.node.match(/\d+/g).join('.') );
|
||||
const version = parseFloat(process.version.substr(1));
|
||||
const minimum = parseFloat(pkg.engines.node.match(/\d+/g).join('.'));
|
||||
|
||||
module.exports = function () {
|
||||
const openCollective = `
|
||||
@@ -47,4 +47,4 @@ module.exports = function () {
|
||||
|
||||
process.stdout.write(errorMessage);
|
||||
process.exit(1);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user