From 6e4287606a97535b91687597c9b5a5a9afea7730 Mon Sep 17 00:00:00 2001 From: Nicolas Dextraze Date: Fri, 28 Apr 2017 09:37:44 -0700 Subject: [PATCH] Minor fix to script, fix published version (yarn publish didn't execute pre-publish) --- package.json | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dda9a12..b3c314d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "goes-install", - "version": "0.3.0", + "version": "0.3.1", "description": "Install GoES for your platform using npm", "main": "lib/index.js", "scripts": { diff --git a/src/index.js b/src/index.js index 8836e0f..a094f79 100644 --- a/src/index.js +++ b/src/index.js @@ -72,7 +72,7 @@ function install(options) { fs.createReadStream(options.localPath) .pipe(unzip.Extract({ path: destPath }) .on('finish', () => { - console.log(`- GoES ${config.version} installed in .deps${path.sep}goes\n`); + console.log(`- GoES ${config.versionToDownload} installed in .deps${path.sep}goes\n`); })) .on('error', reject); });