Skip to content

Commit 0d66af2

Browse files
Reworked: Now files added via single point
1 parent bb9d926 commit 0d66af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Compiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function addDirectory($directory, $exclude = null, $strip = true)
171171
$iterator = new \RecursiveIteratorIterator($iterator);
172172
foreach ($iterator as $file) {
173173
$virtualfile = substr($file->getPathName(), strlen($this->path) + 1);
174-
$this->files[$virtualfile] = [$file->getRealPath(), (bool) $strip];
174+
$this->addFile($virtualfile, $strip);
175175
}
176176
}
177177

0 commit comments

Comments
 (0)