Skip to content
Permalink
Browse files
Check if the paths are directories
  • Loading branch information
Vincent Lequertier committed Dec 28, 2015
1 parent 6bbc883 commit 22e8306f2dcbd308e8b12ec37febab85c143fa4b
Showing 1 changed file with 5 additions and 0 deletions.
@@ -13,6 +13,11 @@ error_log('Mozilla.org: extraction of strings');

foreach (Files::getFilenamesInFolder(GIT . 'mozilla_org/') as $locale) {
$path = GIT . "mozilla_org/{$locale}/";

if (! is_dir($path)) {
continue;
}

$mozilla_org_files = Dotlang::getLangFilesList($path);

$mozilla_org_files = array_map(

0 comments on commit 22e8306

Please sign in to comment.