-
Notifications
You must be signed in to change notification settings - Fork 5.8k
add OPENCODE_CONFIG_DIR to allow loading a custom config directory #3504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add OPENCODE_CONFIG_DIR to allow loading a custom config directory #3504
Conversation
|
Since this is your first OSS contribution just providing this info for future reference: I am editing your description to include:
You can also do
|
|
/oc undo all changes to config.test.ts that were made in this PR |
|
Done! I've removed all the OPENCODE_CONFIG_DIR related tests from the config.test.ts file, reverting it to its original state before the PR changes. |
Co-authored-by: rekram1-node <[email protected]>
|
/oc edit log.debug("using custom config directory", { path: Flag.OPENCODE_CONFIG_DIR }) in config.ts to be: log.debug("loading config from OPENCODE_CONFIG_DIR", { path: Flag.OPENCODE_CONFIG_DIR }) |
|
Done! I've updated the log message from |
Co-authored-by: rekram1-node <[email protected]>
|
@oribarilan thanks for the PR! I made some small tweaks but this was perfect, and congrats on your first contribution |


fixes: #3432
fixes: #3410