ignore minified js, owncloud/news#719
This commit is contained in:
parent
7a9d428d6f
commit
71f32745b6
|
@ -44,7 +44,7 @@ sub crawlFiles{
|
|||
push( @found, crawlFiles( $dir.'/'.$i ));
|
||||
}
|
||||
else{
|
||||
push(@found,$dir.'/'.$i) if $i =~ /\.js$/ || $i =~ /\.php$/;
|
||||
push(@found,$dir.'/'.$i) if $i =~ /.*(?<!\.min)\.js$/ || $i =~ /\.php$/;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue