Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"eqeqeq": [1, "smart"],
"eol-last": [2],
"handle-callback-err": [2],
"indent": [2, 2, {"SwitchCase": 1}],
"indent": [2, 2, {"SwitchCase": 1, "MemberExpression": 0, "CallExpression": {"arguments": 0}}],
"linebreak-style": [2, "unix"],
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-return-assign": [2, "always"],
Expand Down
4 changes: 2 additions & 2 deletions helpers/private/connection/spawn-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ module.exports = function spawnConnection(datastore, cb) {

if (usingLocalhost) {
console.error(
' -> You appear to be trying to use a Postgresql install on localhost.',
'Maybe the database server isn\'t running, or is not installed?'
' -> You appear to be trying to use a Postgresql install on localhost.',
'Maybe the database server isn\'t running, or is not installed?'
);
console.error('');
}
Expand Down
2 changes: 1 addition & 1 deletion lib/private/redact-passwords.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ module.exports = function redactPasswords(err) {
}
}
return err;
}
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"benchmark": "2.1.1",
"eslint": "3.5.0",
"eslint": "7.7.0",
"mocha": "3.0.2",
"waterline-adapter-tests": "^1.0.0-2"
},
Expand Down
2 changes: 1 addition & 1 deletion test/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"eqeqeq": [1, "smart"],
"func-style": [2, "expression"],
"handle-callback-err": [2],
"indent": [2, 2, {"SwitchCase": 1}],
"indent": [2, 2, {"SwitchCase": 1, "MemberExpression": 0}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": [2, {"before": true, "after": true}],
"linebreak-style": [2, "unix"],
Expand Down
2 changes: 1 addition & 1 deletion test/support/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Support.Teardown = function teardown(tableName, cb) {
return cb(err);
}

var query = 'DROP TABLE IF EXISTS \"' + tableName + '";';
var query = 'DROP TABLE IF EXISTS "' + tableName + '";';
PG.sendNativeQuery({
connection: report.connection,
nativeQuery: query
Expand Down