Fix for a bug that would delete the new revision of less/js in case the filenames match.

This commit is contained in:
Daniël Klabbers 2020-09-30 09:26:32 +02:00
parent c7b67b922b
commit 86d4bf0214

View File

@ -86,7 +86,7 @@ class RevisionCompiler implements CompilerInterface
$this->putRevision($newRevision);
if ($oldFile) {
if ($oldFile && $oldFile !== $newFile) {
$this->delete($oldFile);
}
}