diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-07-11 02:59:35 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-07-11 02:59:40 +0300 |
commit | 864e73cdc75a2fb0e4fad500f649dae2343c10a8 (patch) | |
tree | 6ce6762c6be72c98592a32fe0bed4f2ce751d544 /lib/cli.php | |
parent | cb13ea239b9f1ca6aea43125d5694d5a55dcd287 (diff) |
rewrite css and js assets building
Diffstat (limited to 'lib/cli.php')
-rw-r--r-- | lib/cli.php | 6 |
1 files changed, 5 insertions, 1 deletions
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 |