Skip to content
This repository has been archived by the owner on Nov 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #20 from absalon-valdes/master
Browse files Browse the repository at this point in the history
Fix glob issue with finder name()
  • Loading branch information
mheap committed Mar 25, 2013
2 parents d30a432 + 60a8ed8 commit 00cd1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SilexAssetic/Assetic/Dumper.php
Expand Up @@ -67,7 +67,7 @@ public function addTwigAssets()
}

$finder = new Finder();
$iterator = $finder->files()->name('*.twig')->in($this->loader->getPaths());
$iterator = $finder->files()->name('/\.twig$/')->in($this->loader->getPaths());

foreach ($iterator as $file) {
$resource = new TwigResource($this->loader, $file->getRelativePathname());
Expand Down

0 comments on commit 00cd1e4

Please sign in to comment.