output-template: pass the tests
This commit is contained in:
parent
c32d09bd83
commit
9a8b22997c
@ -28,7 +28,7 @@
|
|||||||
(fn [service-path path default]
|
(fn [service-path path default]
|
||||||
(let [s (assert (svc.open (.. service-path "/.outputs")))]
|
(let [s (assert (svc.open (.. service-path "/.outputs")))]
|
||||||
(or (s:output path) default)))
|
(or (s:output path) default)))
|
||||||
:lua_quote #(string.format "%q" %1)
|
:lua_quote #(string.format "%q" $1)
|
||||||
:json_quote (fn [x] (.. "\"" (json-escape x) "\""))
|
:json_quote (fn [x] (.. "\"" (json-escape x) "\""))
|
||||||
}]
|
}]
|
||||||
(string.gsub text delim
|
(string.gsub text delim
|
||||||
|
Loading…
Reference in New Issue
Block a user