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
path: root/test
diff options
context:
space:
mode:
authorHirse <jan.pilzer@gmx.de>2017-06-02 16:15:53 +0300
committerKat Marchán <kzm@sykosomatic.org>2017-06-06 00:20:51 +0300
commit191d10a6616d72e26d89fd00f5a4f6158bfbc526 (patch)
treefda5e7570e789ff5468631c5ab754c7a981591f3 /test
parent6e12a5cc022cb5a157a37df7283b6d7b3d49bdab (diff)
docs: fix up prepublish deprecation message
Fixes: #16685 PR-URL: https://github.com/npm/npm/pull/16918 Credit: @Hirse Reviewed-By: @zkat
Diffstat (limited to 'test')
-rw-r--r--test/tap/prepublish.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tap/prepublish.js b/test/tap/prepublish.js
index 18bfe5f22..c71455a24 100644
--- a/test/tap/prepublish.js
+++ b/test/tap/prepublish.js
@@ -94,7 +94,7 @@ test('prepublish deprecation warning on `npm install`', function (t) {
t.equal(code, 0, 'pack finished successfully')
t.ifErr(err, 'pack finished successfully')
- t.match(stderr, /`prepublish` scripts will run only for `npm publish`/)
+ t.match(stderr, /`prepublish` scripts are deprecated/)
var c = stdout.trim()
var regex = new RegExp('' +
'> npm-test-prepublish@1.2.5 prepublish [^\\r\\n]+\\r?\\n' +