commit 9a8b22997c74cb503b04f9d7361b31a73afacc76
parent c32d09bd8398518ee0d5dcf5421a44002a29a36d
Author: Daniel Barlow <dan@telent.net>
Date: Sun, 2 Mar 2025 21:09:32 +0000
output-template: pass the tests
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/output-template/output-template.fnl b/pkgs/output-template/output-template.fnl
@@ -28,7 +28,7 @@
(fn [service-path path default]
(let [s (assert (svc.open (.. service-path "/.outputs")))]
(or (s:output path) default)))
- :lua_quote #(string.format "%q" %1)
+ :lua_quote #(string.format "%q" $1)
:json_quote (fn [x] (.. "\"" (json-escape x) "\""))
}]
(string.gsub text delim