Skip to content

Commit fa57392

Browse files
committed
Code cleanup
1 parent b7e2784 commit fa57392

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/Css/PreProcessor/Adapter/Less

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Css/PreProcessor/Adapter/Less/Processor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ public function processContent(File $asset)
9090
if (trim($content) === '') {
9191
$this->logger->warning('Parsed less file is empty: ' . $path);
9292
return '';
93+
} else {
94+
return $content;
9395
}
94-
95-
return $content;
9696
} catch (\Exception $e) {
9797
throw new ContentProcessorException(new Phrase($e->getMessage()));
9898
}

0 commit comments

Comments
 (0)