summaryrefslogtreecommitdiff
path: root/tests/opencode/test-plugin-loading.sh
diff options
context:
space:
mode:
authorJesse Vincent <jesse@primeradiant.com>2026-06-18 15:15:54 -0700
committerDrew Ritter <drew@primeradiant.com>2026-08-05 22:38:40 -0700
commitdcd3661b7c0835dde6d7484dd77cace209083d5b (patch)
tree681110d61d1606ac31adad8ea0f6852720e3a6cc /tests/opencode/test-plugin-loading.sh
parent9be44ebf40a41b612f0b5fe47d680cb5f37b519d (diff)
fix(writing-skills): run graphviz without a shell in render-graphs.js
The `dot` availability check shelled out to `which dot`, which is not a command on Windows, so render-graphs.js reported graphviz as missing on Windows even when it was installed. Replace it with a direct `dot -V` probe via execFileSync. Also switch the SVG render call from execSync to execFileSync('dot', ['-Tsvg']). Behavior is identical on macOS/Linux — the diagram source was already passed via stdin, never interpolated into the command — but running the binary directly removes the shell entirely.
Diffstat (limited to 'tests/opencode/test-plugin-loading.sh')
0 files changed, 0 insertions, 0 deletions