Skip to content

Commit 90d71cc

Browse files
committed
Fix custom tools to support argument numbers.
1 parent 787eb2f commit 90d71cc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- Fix custom tools to support argument numbers.
6+
57
## 0.84.2
68

79
- Fix `${netrc:...} ` to consider `:netrcFile` config properly.

src/eca/features/tools/custom.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
(fn [args {:keys [db]}]
1717
(let [resolved-command (reduce
1818
(fn [s [arg-name arg-value]]
19-
(string/replace s (str "{{" arg-name "}}") arg-value))
19+
(string/replace s (str "{{" arg-name "}}") (str arg-value)))
2020
command
2121
args)
2222
work-dir (some-> (:workspace-folders db)

0 commit comments

Comments
 (0)