Merge pull request #278 from Kilo-Org/schaltwerk/vigilant_goodall

fix: match scoped package dirs in publish script glob
This commit is contained in:
Catriel Müller
2026-02-12 09:31:56 -03:00
committed by GitHub
+2 -1
View File
@@ -8,7 +8,8 @@ const dir = fileURLToPath(new URL("..", import.meta.url))
process.chdir(dir)
const binaries: Record<string, string> = {}
for (const filepath of new Bun.Glob("*/package.json").scanSync({ cwd: "./dist" })) {
for (const filepath of new Bun.Glob("*/*/package.json").scanSync({ cwd: "./dist" })) {
// kilocode_change
const pkg = await Bun.file(`./dist/${filepath}`).json()
binaries[pkg.name] = pkg.version
}