We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f35eedb commit 4d5abeeCopy full SHA for 4d5abee
1 file changed
src/errors.janet
@@ -14,11 +14,6 @@
14
(defn format-command-errors [command errors]
15
(map (fn [error] (string command " " (string/ascii-lower error) ".")) errors))
16
17
-# TODO: This function should go away.
18
-(defn print-errors-without-status-code [errors]
19
- (loop [error :in errors]
20
- (print error)))
21
-
22
(defn print-errors [errors exit-status-code]
23
(each error errors (print (string error ".")))
24
(os/exit exit-status-code))
0 commit comments