1
0

output-template: pass the tests

This commit is contained in:
Daniel Barlow 2025-03-02 21:09:32 +00:00
parent c32d09bd83
commit 9a8b22997c

View File

@ -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