Browse Source

chore: update `INVALID_DIRS` to include plural 'skills' directory (#6255)

Connor Adams 2 tháng trước cách đây
mục cha
commit
8a2f4ddf70
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/opencode/src/config/config.ts

+ 1 - 1
packages/opencode/src/config/config.ts

@@ -155,7 +155,7 @@ export namespace Config {
     }
   })
 
-  const INVALID_DIRS = new Bun.Glob(`{${["agents", "commands", "plugins", "tools"].join(",")}}/`)
+  const INVALID_DIRS = new Bun.Glob(`{${["agents", "commands", "plugins", "tools", "skills"].join(",")}}/`)
   async function assertValid(dir: string) {
     const invalid = await Array.fromAsync(
       INVALID_DIRS.scan({