Skip to content

fix(config): fix variable replacement for files containing dollars#11795

Closed
smola wants to merge 1 commit intoanomalyco:devfrom
smola:smola/fix-var-subst
Closed

fix(config): fix variable replacement for files containing dollars#11795
smola wants to merge 1 commit intoanomalyco:devfrom
smola:smola/fix-var-subst

Conversation

@smola
Copy link

@smola smola commented Feb 2, 2026

What does this PR do?

Fixes #11793.

Fixes OpenCode crash when configuration uses variable substitution with values containing JavaScript special replacement patterns.

How did you verify your code works?

Manually tested the fix in a repository that has this issue.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@smola smola closed this Feb 6, 2026
@smola smola deleted the smola/fix-var-subst branch February 6, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenCode crashes on variable substitution if the value contains replacement patterns like $`

1 participant