@gearbox-protocol/deploy-tools 1.1.0 → 1.1.1
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.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -150784,8 +150784,8 @@ async function cloneRepo(opts) {
|
|
|
150784
150784
|
throw error ?? new Error(stderr?.toString());
|
|
150785
150785
|
}
|
|
150786
150786
|
if (commit) {
|
|
150787
|
-
const reset = [
|
|
150788
|
-
log.trace(...reset);
|
|
150787
|
+
const reset = ["reset", "--hard", commit, "--"];
|
|
150788
|
+
log.trace(destDir, ...reset);
|
|
150789
150789
|
let { stderr: stderr2, status: status2, error: error2 } = (0, import_node_child_process.spawnSync)("git", reset, {
|
|
150790
150790
|
cwd: import_node_path.default.resolve(sandboxDir, destDir)
|
|
150791
150791
|
});
|