From bb2726ce356e34b39aa44890ca701818c1e6fe9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Fri, 1 Dec 2023 14:31:00 +0100 Subject: [PATCH] Code optimization [skip ci] --- src/php_minifier/Program.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/php_minifier/Program.hx b/src/php_minifier/Program.hx index c94e9adf..6a194c1e 100644 --- a/src/php_minifier/Program.hx +++ b/src/php_minifier/Program.hx @@ -45,10 +45,10 @@ using haxe.io.Path; output : The output directory. **/ @:defaultCommand - public function run(rest: Rest): Promise { + public function run(rest: Rest) { if (help || version) { Sys.println(version ? Platform.packageVersion : Cli.getDoc(this)); - return Noise; + return Promise.NOISE; } final haxelibRun = Sys.getEnv("HAXELIB_RUN") == "1";