Skip to content

Commit 1edfe86

Browse files
committed
Use print-errors when plan file path is missing
1 parent 61de0be commit 1edfe86

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/alas.janet

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@
6262
(run-with-file-path arguments file-path)
6363
(if (arguments "version")
6464
(print-version)
65-
(do
66-
(print "Plan file path missing.")
67-
(os/exit (errors/exit-status-codes :plan-path-missing))))))
65+
(errors/print-errors ["Plan file path is missing"]
66+
(errors/exit-status-codes :plan-path-missing)))))
6867

6968
## —————————————————————————————————————————————————————————————————————————————————————————————————
7069
## Public Interface

0 commit comments

Comments
 (0)