Skip to content

Commit 008cb1d

Browse files
Arthur Cinadernatanrolnik
authored andcommitted
Fix nit whitespace issue that is breaking lint. (#4092)
* Not sure how this got introduced without lint catching either in the upgrade of a lib or a pr on these files, but innocuous enough that i don't think we need to investigate further? * Update eslint to make all happy!
1 parent 2cec920 commit 008cb1d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"bcrypt-nodejs": "0.0.3",
5656
"cross-env": "5.0.2",
5757
"deep-diff": "0.3.8",
58-
"eslint": "^4.0.0",
58+
"eslint": "^4.4.1",
5959
"eslint-plugin-flowtype": "^2.25.0",
6060
"gaze": "1.1.2",
6161
"jasmine": "2.7.0",

src/Adapters/Storage/Postgres/PostgresStorageAdapter.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,11 +1452,11 @@ function literalizeRegexPart(s) {
14521452
// remove all instances of \Q and \E from the remaining text & escape single quotes
14531453
return (
14541454
s.replace(/([^\\])(\\E)/, '$1')
1455-
.replace(/([^\\])(\\Q)/, '$1')
1456-
.replace(/^\\E/, '')
1457-
.replace(/^\\Q/, '')
1458-
.replace(/([^'])'/, `$1''`)
1459-
.replace(/^'([^'])/, `''$1`)
1455+
.replace(/([^\\])(\\Q)/, '$1')
1456+
.replace(/^\\E/, '')
1457+
.replace(/^\\Q/, '')
1458+
.replace(/([^'])'/, `$1''`)
1459+
.replace(/^'([^'])/, `''$1`)
14601460
);
14611461
}
14621462

src/vendor/mongodbUrl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
255255
hostEnd = i;
256256
break;
257257
case 64: // '@'
258-
// At this point, either we have an explicit point where the
259-
// auth portion cannot go past, or the last @ char is the decider.
258+
// At this point, either we have an explicit point where the
259+
// auth portion cannot go past, or the last @ char is the decider.
260260
atSign = i;
261261
nonHost = -1;
262262
break;

0 commit comments

Comments
 (0)