Skip to content

Commit

Permalink
Update CompilerOutputFormatter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jannejava authored Nov 15, 2024
1 parent 14d536c commit 3784ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/CompilerOutputFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function getWebpackProgress(string $line): int

preg_match(self::PERCENTAGE_REGEX, $line, $matches, PREG_OFFSET_CAPTURE);

$percentage = $matches[0][0] ?? null;
$percentage = $matches[0][0] ?? "";

return (int)str_replace('%', '', $percentage);
}
Expand Down

0 comments on commit 3784ac3

Please sign in to comment.