diff --git a/src/Resume/Command/HtmlCommand.php b/src/Resume/Command/HtmlCommand.php index 1e70928..a52e1c1 100644 --- a/src/Resume/Command/HtmlCommand.php +++ b/src/Resume/Command/HtmlCommand.php @@ -107,8 +107,9 @@ class HtmlCommand extends Command // Our PHAR deployment can't handle the GlobAsset typically used here foreach (new \DirectoryIterator($cssAssetPath) as $fileInfo) { - if ($fileInfo->isDot()) continue; - if (!$fileInfo->isFile()) continue; + if ($fileInfo->isDot() || !$fileInfo->isFile()) { + continue; + } array_push($cssAssets, new FileAsset($fileInfo->getPathname())); }