Skip to content

Commit

Permalink
Code optimization [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Dec 1, 2023
1 parent 1e8147d commit bb2726c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/php_minifier/Program.hx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ using haxe.io.Path;
output : The output directory.
**/
@:defaultCommand
public function run(rest: Rest<String>): Promise<Noise> {
public function run(rest: Rest<String>) {
if (help || version) {
Sys.println(version ? Platform.packageVersion : Cli.getDoc(this));
return Noise;
return Promise.NOISE;
}

final haxelibRun = Sys.getEnv("HAXELIB_RUN") == "1";
Expand Down

0 comments on commit bb2726c

Please sign in to comment.