Skip to content

Commit 377aab6

Browse files
committed
remove dead code
1 parent e16fbe2 commit 377aab6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wisp.wisp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
(= channel :code) (:code output)
3838
(= channel :expansion) (:expansion output)
3939
:else (JSON.stringify (get output channel) 2 2))]
40-
(.write process.stdout (or content "nil")))
40+
(.write process.stdout (or content "nil"))
4141
(if (:error output) (throw (.-error output)))))
4242

4343
(defn with-stream-content
@@ -79,7 +79,7 @@
7979
(cond options.run (run (get options.args 0))
8080
(not process.stdin.isTTY) (compile-stdin options)
8181
options.interactive (start-repl)
82-
options.compile (compile-file options.args options)
82+
options.compile (compile-file (get options.args 0) options)
8383
options.args (run options.args)
8484
:else (start-repl)
8585
)))

0 commit comments

Comments
 (0)