@minkimcello/georgia
Advanced tools
Comparing version 1.13.5 to 1.13.6
@@ -65,6 +65,5 @@ #!/usr/bin/env node | ||
let command = yarn ? 'yarn' : 'npm'; | ||
let loading = animate(messages); | ||
let i = 0; | ||
loading.start(); | ||
if(silent){ | ||
let loading = animate(messages); | ||
loading.start(); | ||
const install = spawn(command, ['install'], { | ||
@@ -82,2 +81,3 @@ cwd: TARGET_DIR, | ||
} else { | ||
let i = 0; | ||
const install = spawn(command, ['install'], { | ||
@@ -92,3 +92,2 @@ cwd: TARGET_DIR, | ||
install.on('close', code => { | ||
loading.stop(); | ||
if (code !== 0) { | ||
@@ -98,2 +97,3 @@ reject('Error while installing'); | ||
process.stdout.write(`\u001b[${i}A\u001b[2k`); | ||
console.log(chalk.blueBright('✓'), messages[1]); | ||
resolve(); | ||
@@ -100,0 +100,0 @@ }); |
{ | ||
"name": "@minkimcello/georgia", | ||
"version": "1.13.5", | ||
"version": "1.13.6", | ||
"description": "BigTest Sample App", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/thefrontside/bigtest.git", |
713700