refactor: new direction

This commit is contained in:
rkiel
2019-07-20 09:21:10 -04:00
parent 438416bd41
commit 5b9d2b0711
3 changed files with 105 additions and 12 deletions

View File

@@ -22,10 +22,12 @@ function endFeatureBranch(dp) {
commander
.start()
.then(git.setCurrentBranch)
.then(git.parseCurrentBranch)
.then(validate.mustBeFeatureBranch)
.then(git.setStandardBranch)
.then(git.isBranchRemote)
.then(endFeatureBranch)
.then(git.gather)
.then(commander.echo)
// .then(git.setCurrentBranch)
// .then(git.parseCurrentBranch)
// .then(validate.mustBeFeatureBranch)
// .then(git.setStandardBranch)
// .then(git.isBranchRemote)
// .then(endFeatureBranch)
.catch(err => console.error(err));