Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix glob issue with finder name()

  • Loading branch information...
commit 60a8ed8d21a2ccab26a863eb12866431ab00312a 1 parent d30a432
@absalonvaldes absalonvaldes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/SilexAssetic/Assetic/Dumper.php
View
2  src/SilexAssetic/Assetic/Dumper.php
@@ -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());
Please sign in to comment.
Something went wrong with that request. Please try again.