Explorar o código

fix(test): make plugin loader theme source path separator-safe (#22870)

Dax hai 5 meses
pai
achega
9afbdc102c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/opencode/test/cli/tui/plugin-loader.test.ts

+ 1 - 1
packages/opencode/test/cli/tui/plugin-loader.test.ts

@@ -331,7 +331,7 @@ export default {
     const localOpts = {
       fn_marker: tmp.extra.fnMarker,
       marker: tmp.extra.localMarker,
-      source: tmp.extra.localDest.replace(".opencode/themes/", ""),
+      source: path.join(tmp.path, tmp.extra.localThemeFile),
       dest: tmp.extra.localDest,
       theme_path: `./${tmp.extra.localThemeFile}`,
       theme_name: tmp.extra.localThemeName,