Minor fix to script, fix published version (yarn publish didn't execute pre-publish)

This commit is contained in:
Nicolas Dextraze 2017-04-28 09:37:44 -07:00
parent 08c9cd8c62
commit 6e4287606a
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "goes-install", "name": "goes-install",
"version": "0.3.0", "version": "0.3.1",
"description": "Install GoES for your platform using npm", "description": "Install GoES for your platform using npm",
"main": "lib/index.js", "main": "lib/index.js",
"scripts": { "scripts": {

View File

@ -72,7 +72,7 @@ function install(options) {
fs.createReadStream(options.localPath) fs.createReadStream(options.localPath)
.pipe(unzip.Extract({ path: destPath }) .pipe(unzip.Extract({ path: destPath })
.on('finish', () => { .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); .on('error', reject);
}); });