We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2535f9f commit 3c6dcadCopy full SHA for 3c6dcad
1 file changed
packages/opencode/src/config/config.ts
@@ -75,7 +75,7 @@ export namespace Config {
75
for (const dir of directories) {
76
await assertValid(dir)
77
78
- if (dir.endsWith(".opencode")) {
+ if (dir.endsWith(".opencode") || dir === Flag.OPENCODE_CONFIG_DIR) {
79
for (const file of ["opencode.jsonc", "opencode.json"]) {
80
log.debug(`loading config from ${path.join(dir, file)}`)
81
result = mergeDeep(result, await loadFile(path.join(dir, file)))
0 commit comments