1
0
mirror of https://github.com/janet-lang/janet synced 2026-01-05 22:59:06 +00:00

Fix -s flag in janet binary.

This commit is contained in:
Calvin Rose
2018-12-30 18:23:29 -05:00
parent 56927e1b81
commit 8dde89126e
2 changed files with 6 additions and 1 deletions

View File

@@ -51,7 +51,7 @@
(when (or *should-repl* *no-file*)
(if *raw-stdin*
(repl nil identity)
(repl nil (fn [x &] x))
(do
(print (string "Janet " janet/version "-" janet/build " Copyright (C) 2017-2018 Calvin Rose"))
(repl (fn [buf p]