Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix glob issue with finder name() #20

Merged
merged 1 commit into from

2 participants

@absalon-valdes

No description provided.

@mheap mheap merged commit 00cd1e4 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 24, 2013
  1. @absalon-valdes
This page is out of date. Refresh to see the latest.
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());
Something went wrong with that request. Please try again.