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.
2 parents e64f2c6 + 02f9c5e commit 4a3853dCopy full SHA for 4a3853d
src/wisp.wisp
@@ -86,7 +86,8 @@
86
(defn main
87
[]
88
(let [options (parse-params (drop 2 process.argv))]
89
- (cond (not process.stdin.isTTY) (compile-stdin options)
+ (cond (:run options) (run (:run options))
90
+ (not process.stdin.isTTY) (compile-stdin options)
91
(< (count process.argv) 3) (start-repl)
92
(and (= (count process.argv) 3)
93
(not (flag? (last process.argv)))) (run (last process.argv))
0 commit comments