opencode: fix config file location
The file should be named `opencode.json`, not `config.json`. Docs: https://opencode.ai/docs/config/#global @moduon MT-13030
This commit is contained in:
parent
356a88a574
commit
082a4cd87c
6 changed files with 11 additions and 11 deletions
|
|
@ -4,6 +4,6 @@
|
|||
settings = { };
|
||||
};
|
||||
nmt.script = ''
|
||||
assertPathNotExists home-files/.config/opencode/config.json
|
||||
assertPathNotExists home-files/.config/opencode/opencode.json
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@
|
|||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/opencode/config.json
|
||||
assertFileContent home-files/.config/opencode/config.json \
|
||||
assertFileExists home-files/.config/opencode/opencode.json
|
||||
assertFileContent home-files/.config/opencode/opencode.json \
|
||||
${./mcp-integration-with-override.json}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/opencode/config.json
|
||||
assertFileContent home-files/.config/opencode/config.json \
|
||||
assertFileExists home-files/.config/opencode/opencode.json
|
||||
assertFileContent home-files/.config/opencode/opencode.json \
|
||||
${./mcp-integration.json}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
};
|
||||
};
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/opencode/config.json
|
||||
assertFileContent home-files/.config/opencode/config.json \
|
||||
${./config.json}
|
||||
assertFileExists home-files/.config/opencode/opencode.json
|
||||
assertFileContent home-files/.config/opencode/opencode.json \
|
||||
${./opencode.json}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue