Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit 3d87e8f

Browse files
jdaltonzkat
authored andcommittedApr 13, 2018
standard: resolve linting nits. (#175)
1 parent cba97bb commit 3d87e8f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@
7070
}
7171
},
7272
"engines": {
73-
"node" : ">=4"
73+
"node": ">=4"
7474
}
7575
}

‎test/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ test('installPackages unit', t => {
142142
}
143143
},
144144
escapeArg (arg) {
145-
if (arg === '/f@ke_/path to/node'){
145+
if (arg === '/f@ke_/path to/node') {
146146
return '\'/f@ke_/path to/node\''
147-
} else if (arg === 'C:\\f@ke_\\path to\\node'){
147+
} else if (arg === 'C:\\f@ke_\\path to\\node') {
148148
return '"C:\\f@ke_\\path to\\node"'
149149
}
150150
return arg
@@ -190,7 +190,7 @@ test('installPackages unit', t => {
190190
npm: NPM_PATH
191191
}).then((npmPath) => {
192192
process.argv[0] = nodePath
193-
if (isWindows){
193+
if (isWindows) {
194194
t.equal(npmPath, '"C:\\f@ke_\\path to\\node"', 'incorrectly escaped path win32')
195195
} else {
196196
t.equal(npmPath, '/f@ke_/path to/node', 'incorrectly escaped path *nix')

0 commit comments

Comments
 (0)
This repository has been archived.