From 0d074f1cbef04dcc79ea84f36be3afc25782d0b3 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Wed, 14 Feb 2018 12:09:02 +0200 Subject: [PATCH] Provide exact version into `npm install` command --- src/command-line/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command-line/install.js b/src/command-line/install.js index da98492c..687c74e8 100644 --- a/src/command-line/install.js +++ b/src/command-line/install.js @@ -61,7 +61,7 @@ program "--no-progress", "--prefix", packagesPath, - packageName, + `${packageName}@${json.version}`, ], { // This is the same as `"inherit"` except `process.stdout` is ignored