From 864e73cdc75a2fb0e4fad500f649dae2343c10a8 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 11 Jul 2022 02:59:35 +0300 Subject: rewrite css and js assets building --- lib/cli.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/cli.php') diff --git a/lib/cli.php b/lib/cli.php index 3bda20f..a860871 100644 --- a/lib/cli.php +++ b/lib/cli.php @@ -63,8 +63,12 @@ class cli { } public static function die($error): void { - fwrite(STDERR, "error: {$error}\n"); + self::error($error); exit(1); } + public static function error($error): void { + fwrite(STDERR, "error: {$error}\n"); + } + } \ No newline at end of file -- cgit v1.2.3