Skip to content

Commit 9c834c0

Browse files
fix: use fileURLToPath for Windows path compatibility in bundle-skills
1 parent faad3eb commit 9c834c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/cli/scripts/bundle-skills.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export const BUNDLED_SKILLS: SkillDirectory[] = ${JSON.stringify(skills, null, 2
137137
export const BUNDLED_AT = '${new Date().toISOString()}'
138138
`
139139

140-
const outputPath = new URL('../src/lib/skills/bundled.ts', import.meta.url).pathname
140+
const outputPath = Bun.fileURLToPath(new URL('../src/lib/skills/bundled.ts', import.meta.url))
141141
await Bun.write(outputPath, output)
142142

143143
console.log(`Bundled ${skills.length} skills to src/lib/skills/bundled.ts`)

0 commit comments

Comments
 (0)