Skip to content

Commit

Permalink
Merge pull request #372 from MarekSz88/patch-1
Browse files Browse the repository at this point in the history
Update BuildCommand.php - fixed force param condition check
  • Loading branch information
markstory authored Jul 26, 2024
2 parents 0857695 + 03c2804 commit dca5354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected function buildTarget(AssetTarget $build, Factory $factory, Arguments $
$compiler = $factory->compiler();

$name = $writer->buildFileName($build);
if ($writer->isFresh($build) && $args->getOption('force')) {
if ($writer->isFresh($build) && $args->getOption('force') === false) {
$io->out('<info>Skip building</info> ' . $name . ' existing file is still fresh.');

return;
Expand Down

0 comments on commit dca5354

Please sign in to comment.