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