finish start

This commit is contained in:
rkiel
2019-07-14 16:32:38 -04:00
parent 67b09c2cd0
commit 48f2d0ead0

View File

@@ -80,7 +80,7 @@ function gitBranch(dp) {
} }
function gitCheckout(dp) { function gitCheckout(dp) {
const cmd = `git checkout --track origin/#{dp.featureBranch}`; const cmd = `git checkout --track origin/${dp.featureBranch}`;
console.log(cmd); console.log(cmd);
return exec(cmd).then(x => dp); return exec(cmd).then(x => dp);
} }
@@ -109,5 +109,5 @@ const x = toPromise({ program })
.then(gitBranch) .then(gitBranch)
.then(gitCheckout) .then(gitCheckout)
.then(gitPush) .then(gitPush)
.then(x => console.log("x", x)) // .then(x => console.log("x", x))
.catch(err => console.error(err)); .catch(err => console.error(err));