diff options
author | Gar <gar+gh@danger.computer> | 2021-06-04 17:11:41 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-06-10 20:09:03 +0300 |
commit | f130a81d62bf4f540ab252a09ff5a618827f9265 (patch) | |
tree | ae41e2ddd68a09bf486c96375ee5c80e2d842934 /smoke-tests | |
parent | 26d00c47785dfb300eab6a926f9d7c4d566776b1 (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.js | 4 |
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') |