diff options
-rw-r--r-- | smoke-tests/index.js | 1 | ||||
-rw-r--r-- | tap-snapshots/smoke-tests-index.js-TAP.test.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/smoke-tests/index.js b/smoke-tests/index.js index 2c2a1b6ab..1d352c625 100644 --- a/smoke-tests/index.js +++ b/smoke-tests/index.js @@ -13,6 +13,7 @@ t.cleanSnapshot = s => s.split(cwd).join('{CWD}') .replace(/\\+/g, '/') .replace(/\r\n/g, '\n') .replace(/\ \(in a browser\)/g, '') + .replace(/^npm@.*\ /mg, 'npm ') // setup server const registryServer = require('./server.js') diff --git a/tap-snapshots/smoke-tests-index.js-TAP.test.js b/tap-snapshots/smoke-tests-index.js-TAP.test.js index 932799bc5..6fabc5cc3 100644 --- a/tap-snapshots/smoke-tests-index.js-TAP.test.js +++ b/tap-snapshots/smoke-tests-index.js-TAP.test.js @@ -38,7 +38,7 @@ or on the command line via: npm <command> --key=value More configuration info: npm help config Configuration fields: npm help 7 config -npm@7.7.5 {CWD} +npm {CWD} ` |