From 191d10a6616d72e26d89fd00f5a4f6158bfbc526 Mon Sep 17 00:00:00 2001 From: Hirse Date: Fri, 2 Jun 2017 15:15:53 +0200 Subject: docs: fix up prepublish deprecation message Fixes: #16685 PR-URL: https://github.com/npm/npm/pull/16918 Credit: @Hirse Reviewed-By: @zkat --- test/tap/prepublish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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' + -- cgit v1.2.3