Comparing version 1.0.13 to 1.0.14
26
index.js
@@ -10,15 +10,2 @@ var B = require('br4nch'); | ||
var loader = [ | ||
'/ Installing.', | ||
'| Installing..', | ||
'\\ Installing...', | ||
'- Installing..' | ||
]; | ||
var i = 4; | ||
var ui = new inquirer.ui.BottomBar({bottomBar: loader[i % 4]}); | ||
setInterval(function () { | ||
ui.updateBottomBar(loader[i++ % 4]); | ||
}, 300); | ||
module.exports = function() { | ||
@@ -39,2 +26,15 @@ return new Promise(function (resolve, reject) { | ||
inquirer.prompt(questions).then(function (answers) { | ||
var loader = [ | ||
'/ Installing.', | ||
'| Installing..', | ||
'\\ Installing...', | ||
'- Installing..' | ||
]; | ||
var i = 4; | ||
var ui = new inquirer.ui.BottomBar({bottomBar: loader[i % 4]}); | ||
setInterval(function () { | ||
ui.updateBottomBar(loader[i++ % 4]); | ||
}, 300); | ||
E(`git init && git remote add origin ${answers.url} && git remote show origin && git symbolic-ref HEAD && echo "# Hi" >> README.md && git add . && git commit -m "Hi" && git push -u origin master`) | ||
@@ -41,0 +41,0 @@ .then((value) => { |
{ | ||
"name": "1n1t", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Create github repository in programmatically.", | ||
@@ -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
848167