finish start
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user