Comparing version 0.1.2 to 0.1.3
@@ -36,4 +36,2 @@ #!/usr/bin/env node | ||
console.log(process.argv); | ||
console.log(authPath); | ||
authPath = authPath.replace('bin', 'lib/node_modules') + '/auth.json'; | ||
@@ -45,4 +43,6 @@ console.log(authPath); | ||
if (!stats) { | ||
var menu = new _menu2.default(authPath); | ||
menu.init().then(gh.addStars()); | ||
var menu = new _menu2.default(); | ||
menu.init().then(function () { | ||
gh.addStars(); | ||
}); | ||
} else { | ||
@@ -49,0 +49,0 @@ gh.addStars(); |
@@ -19,4 +19,2 @@ #!/usr/bin/env node | ||
// TODO change this. | ||
console.log(process.argv); | ||
console.log(authPath); | ||
authPath = authPath.replace('bin', 'lib/node_modules') + '/auth.json'; | ||
@@ -28,6 +26,8 @@ console.log(authPath); | ||
if (!stats) { | ||
let menu = new Menu(authPath); | ||
let menu = new Menu(); | ||
menu | ||
.init() | ||
.then(gh.addStars()); | ||
.then(() => { | ||
gh.addStars() | ||
}); | ||
} else { | ||
@@ -34,0 +34,0 @@ gh.addStars(); |
{ | ||
"name": "add-stars", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Add star to repos used in your project.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
56929
2