mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-24 01:24:18 +08:00
Merge pull request #278 from Kilo-Org/schaltwerk/vigilant_goodall
fix: match scoped package dirs in publish script glob
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user