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 656dec65dc
commit 99c47271be

View File

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