@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tritard/waterbrother",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Waterbrother: Grok-powered coding CLI with local tools, sessions, operator modes, and approval controls",
5
5
  "type": "module",
6
6
  "bin": {
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