This commit is contained in:
2021-04-02 15:51:14 -06:00
parent 3d50159bde
commit 09ccbb3d51

View File

@@ -54,7 +54,7 @@
*/
(defun :String convertToHScript [kissStr]
(let [kissProcess (ChildProcess.spawnSync "haxelib" ["run" "kiss" "--all"] (object input kissStr))]
(let [kissProcess (ChildProcess.spawnSync "haxelib" ["run" "kiss" "--all"] (object input "${kissStr}\n"))]
(if !(= kissProcess.status 0)
{(errorMessage "failed to compile ${kissStr}: $(.toString (the Buffer .stderr kissProcess))") ""}
(.toString (the Buffer .stdout kissProcess)))))