Jelajahi Sumber

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

Connor Adams 1 bulan lalu
induk
melakukan
8a2f4ddf70
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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({