Comparing version 1.0.21 to 1.0.22
@@ -12,10 +12,11 @@ #!/usr/bin/env node | ||
if(["-u","-update","--u","--update"].includes(process.argv[2].toLowerCase())){ | ||
const ora = require('ora'); | ||
const spinner = ora('Loading unicorns').start(); | ||
setTimeout(() => { | ||
spinner.color = 'yellow'; | ||
spinner.text = 'Loading rainbows'; | ||
}, 1000); | ||
const Ora = require('ora'); | ||
const spinner = Ora({ | ||
discardStdin: false, | ||
text: 'Updating..', | ||
spinner: 'bounce' | ||
}); | ||
spinner.start() | ||
cp.execSync("npm i -g consel"); | ||
spinner.succeed("Updated!") | ||
process.exit() | ||
@@ -22,0 +23,0 @@ } |
{ | ||
"name": "consel", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2239
66