Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-06-04 17:11:41 +0300
committerGar <gar+gh@danger.computer>2021-06-10 20:09:03 +0300
commitf130a81d62bf4f540ab252a09ff5a618827f9265 (patch)
treeae41e2ddd68a09bf486c96375ee5c80e2d842934 /smoke-tests
parent26d00c47785dfb300eab6a926f9d7c4d566776b1 (diff)
fix(linting): add scripts, docs, smoke-tests
There is code in all of these places we control so it should be linted PR-URL: https://github.com/npm/cli/pull/3367 Credit: @wraithgar Close: #3367 Reviewed-by: @isaacs
Diffstat (limited to 'smoke-tests')
-rw-r--r--smoke-tests/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoke-tests/index.js b/smoke-tests/index.js
index d16f49872..c7b2d2a1c 100644
--- a/smoke-tests/index.js
+++ b/smoke-tests/index.js
@@ -12,8 +12,8 @@ t.cleanSnapshot = s => s.split(cwd).join('{CWD}')
.split(process.cwd()).join('{CWD}')
.replace(/\\+/g, '/')
.replace(/\r\n/g, '\n')
- .replace(/\ \(in a browser\)/g, '')
- .replace(/^npm@.*\ /mg, 'npm ')
+ .replace(/ \(in a browser\)/g, '')
+ .replace(/^npm@.* /mg, 'npm ')
// setup server
const { start, stop, registry } = require('./server.js')