fix(win32): scripts/turbo commands would not run (#14829)

This commit is contained in:
Luke Parker
2026-02-24 09:15:25 +10:00
committed by GitHub
parent ad5f0816a3
commit 34495a70d5
5 changed files with 10 additions and 6 deletions

View File

@@ -1,8 +1,9 @@
#!/usr/bin/env bun
import { Script } from "@opencode-ai/script"
import { $ } from "bun"
import { fileURLToPath } from "url"
const dir = new URL("..", import.meta.url).pathname
const dir = fileURLToPath(new URL("..", import.meta.url))
process.chdir(dir)
await $`bun tsc`