Kaynağa Gözat

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

Dax 3 gün önce
ebeveyn
işleme
9afbdc102c

+ 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,