finish start
This commit is contained in:
@@ -80,7 +80,7 @@ function gitBranch(dp) {
|
||||
}
|
||||
|
||||
function gitCheckout(dp) {
|
||||
const cmd = `git checkout --track origin/#{dp.featureBranch}`;
|
||||
const cmd = `git checkout --track origin/${dp.featureBranch}`;
|
||||
console.log(cmd);
|
||||
return exec(cmd).then(x => dp);
|
||||
}
|
||||
@@ -109,5 +109,5 @@ const x = toPromise({ program })
|
||||
.then(gitBranch)
|
||||
.then(gitCheckout)
|
||||
.then(gitPush)
|
||||
.then(x => console.log("x", x))
|
||||
// .then(x => console.log("x", x))
|
||||
.catch(err => console.error(err));
|
||||
|
||||
Reference in New Issue
Block a user