@tritard/waterbrother 0.8.1 → 0.8.2
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/package.json +1 -1
- package/src/cli.js +1 -1
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -2888,9 +2888,9 @@ async function runUpdateCommand({ cwd, asJson = false }) {
|
|
|
2888
2888
|
|
|
2889
2889
|
const inside = await runExecStep("git", ["rev-parse", "--is-inside-work-tree"], { cwd: installRoot });
|
|
2890
2890
|
const isGitRepo = inside.ok && inside.stdout.trim() === "true";
|
|
2891
|
-
steps.push(inside);
|
|
2892
2891
|
|
|
2893
2892
|
if (isGitRepo) {
|
|
2893
|
+
steps.push(inside);
|
|
2894
2894
|
const branch = await runExecStep("git", ["rev-parse", "--abbrev-ref", "HEAD"], { cwd: installRoot });
|
|
2895
2895
|
steps.push(branch);
|
|
2896
2896
|
|