Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f75955d commit 35e5948Copy full SHA for 35e5948
1 file changed
Command/ClearCommand.php
@@ -33,7 +33,7 @@ protected function configure()
33
protected function execute(InputInterface $input, OutputInterface $output)
34
{
35
$finder = new Finder();
36
- $finder->files()->in(__DIR__ . '/../Resources/public/');
+ $finder->files()->in(__DIR__ . '/../Resources/public/')->name('/(js$)|(css$)/');
37
38
foreach ($finder as $file) {
39
unlink($file->getRealPath());
0 commit comments