summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-04-16 11:28:19 -0400
committerDax Raad <[email protected]>2026-04-16 11:28:19 -0400
commit2b1696f1d174fde75f57abd9f498b53bf00e0d68 (patch)
treebe785360142128fd452e21a0efc48ccd23099df8
parent8ab17f5ce0bb3e74a49aa661fc1beef8314b8e04 (diff)
downloadopencode-2b1696f1d174fde75f57abd9f498b53bf00e0d68.tar.gz
opencode-2b1696f1d174fde75f57abd9f498b53bf00e0d68.zip
Revert "tui: fix path comparison in theme installer to handle different path formats"
This reverts commit 8ab17f5ce0bb3e74a49aa661fc1beef8314b8e04.
-rw-r--r--packages/opencode/src/cli/cmd/tui/plugin/runtime.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/plugin/runtime.ts b/packages/opencode/src/cli/cmd/tui/plugin/runtime.ts
index cdb778d14..af37ffbd7 100644
--- a/packages/opencode/src/cli/cmd/tui/plugin/runtime.ts
+++ b/packages/opencode/src/cli/cmd/tui/plugin/runtime.ts
@@ -194,8 +194,7 @@ function createThemeInstaller(
}
return
}
- if (path.normalize(prev?.dest ?? "") === path.normalize(dest) && prev.mtime === mtime && prev.size === size)
- return
+ if (prev?.dest === dest && prev.mtime === mtime && prev.size === size) return
}
const text = await Filesystem.readText(src).catch((error) => {