Comparing version 1.0.6 to 1.0.7
@@ -15,4 +15,4 @@ var B = require('br4nch'); | ||
prompt.get([{name:'url', required: true, description: "Git remote url: Ex. https://github.com/cagataycali/br4anch.git"}], function (err, result) { | ||
E(`git init && git remote add origin ${result.url} && git remote show origin && git symbolic-ref HEAD`) | ||
.then((value) => {return value.split('/').pop(-1);}) | ||
E(`git init && git remote add origin ${result.url}`) | ||
.then((value) => {return value}) | ||
.catch((err) => {return err}); | ||
@@ -19,0 +19,0 @@ }); |
{ | ||
"name": "1n1t", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Git init or get current branch easily", | ||
@@ -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
1491