Minor fix to script, fix published version (yarn publish didn't execute pre-publish)
This commit is contained in:
parent
08c9cd8c62
commit
6e4287606a
|
@ -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": {
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user