Comparing version 1.0.8 to 1.0.9
@@ -16,4 +16,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}`) | ||
.then((value) => {resolve(value)}) | ||
E(`git init && git remote add origin ${result.url} && git remote show origin && git symbolic-ref HEAD`) | ||
.then((value) => {resolve(value.split('/').pop(-1))}) | ||
.catch((err) => {reject(err)}); | ||
@@ -20,0 +20,0 @@ }); |
{ | ||
"name": "1n1t", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"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
1645