@rallycry/conveyor-agent 7.1.6 → 7.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -684,7 +684,11 @@ function ensureOnTaskBranch(cwd, taskBranch) {
|
|
|
684
684
|
return false;
|
|
685
685
|
}
|
|
686
686
|
try {
|
|
687
|
-
execSync(`git checkout ${taskBranch}`, {
|
|
687
|
+
execSync(`git checkout -B ${taskBranch} origin/${taskBranch}`, {
|
|
688
|
+
cwd,
|
|
689
|
+
stdio: "ignore",
|
|
690
|
+
timeout: 3e4
|
|
691
|
+
});
|
|
688
692
|
} catch {
|
|
689
693
|
process.stderr.write(`[conveyor-agent] Warning: git checkout ${taskBranch} failed
|
|
690
694
|
`);
|
|
@@ -7542,4 +7546,4 @@ export {
|
|
|
7542
7546
|
loadForwardPorts,
|
|
7543
7547
|
loadConveyorConfig
|
|
7544
7548
|
};
|
|
7545
|
-
//# sourceMappingURL=chunk-
|
|
7549
|
+
//# sourceMappingURL=chunk-N3365TFE.js.map
|