mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-20 01:12:15 +00:00
replace all $ARGUMENTS (#3276)
This commit is contained in:
parent
290d15a80f
commit
1c7bd6365e
1 changed files with 1 additions and 1 deletions
|
|
@ -1409,7 +1409,7 @@ export namespace SessionPrompt {
|
|||
const command = await Command.get(input.command)
|
||||
const agentName = command.agent ?? input.agent ?? "build"
|
||||
|
||||
let template = command.template.replace("$ARGUMENTS", input.arguments)
|
||||
let template = command.template.replaceAll("$ARGUMENTS", input.arguments)
|
||||
|
||||
const shell = ConfigMarkdown.shell(template)
|
||||
if (shell.length > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue