fix: change default Codex install location from global to project (#1698)
This commit is contained in:
parent
1782e97731
commit
5579816ed2
|
|
@ -23,9 +23,9 @@ class CodexSetup extends BaseIdeSetup {
|
||||||
* @returns {Object} Collected configuration
|
* @returns {Object} Collected configuration
|
||||||
*/
|
*/
|
||||||
async collectConfiguration(options = {}) {
|
async collectConfiguration(options = {}) {
|
||||||
// Non-interactive mode: use default (global)
|
// Non-interactive mode: use default (project) - recommended for real work
|
||||||
if (options.skipPrompts) {
|
if (options.skipPrompts) {
|
||||||
return { installLocation: 'global' };
|
return { installLocation: options.codexLocation || 'project' };
|
||||||
}
|
}
|
||||||
|
|
||||||
let confirmed = false;
|
let confirmed = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue