We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16fbe2 commit 377aab6Copy full SHA for 377aab6
src/wisp.wisp
@@ -37,7 +37,7 @@
37
(= channel :code) (:code output)
38
(= channel :expansion) (:expansion output)
39
:else (JSON.stringify (get output channel) 2 2))]
40
- (.write process.stdout (or content "nil")))
+ (.write process.stdout (or content "nil"))
41
(if (:error output) (throw (.-error output)))))
42
43
(defn with-stream-content
@@ -79,7 +79,7 @@
79
(cond options.run (run (get options.args 0))
80
(not process.stdin.isTTY) (compile-stdin options)
81
options.interactive (start-repl)
82
- options.compile (compile-file options.args options)
+ options.compile (compile-file (get options.args 0) options)
83
options.args (run options.args)
84
:else (start-repl)
85
)))
0 commit comments