diff --git a/package.json b/package.json index 6f1a75f..89a7526 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,6 @@ } }, "engines": { - "node" : ">=4" + "node": ">=4" } } diff --git a/test/index.js b/test/index.js index 3c546c7..3490c26 100644 --- a/test/index.js +++ b/test/index.js @@ -142,9 +142,9 @@ test('installPackages unit', t => { } }, escapeArg (arg) { - if (arg === '/f@ke_/path to/node'){ + if (arg === '/f@ke_/path to/node') { return '\'/f@ke_/path to/node\'' - } else if (arg === 'C:\\f@ke_\\path to\\node'){ + } else if (arg === 'C:\\f@ke_\\path to\\node') { return '"C:\\f@ke_\\path to\\node"' } return arg @@ -190,7 +190,7 @@ test('installPackages unit', t => { npm: NPM_PATH }).then((npmPath) => { process.argv[0] = nodePath - if (isWindows){ + if (isWindows) { t.equal(npmPath, '"C:\\f@ke_\\path to\\node"', 'incorrectly escaped path win32') } else { t.equal(npmPath, '/f@ke_/path to/node', 'incorrectly escaped path *nix')