Skip to content

Commit

Permalink
improv. fix gitkeep error (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
nivcoo authored Dec 29, 2020
1 parent 8aae519 commit 2fc9509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Controller/Component/EyPluginComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private function getPluginsInFolder()
$this->log('Unable to scan plugins folder.');
return array();
}
$bypassedFiles = array('.', '..', '.DS_Store', '__MACOSX'); // invalid plugins
$bypassedFiles = array('.', '..', '.DS_Store', '__MACOSX', '.gitkeep'); // invalid plugins
$pluginsList = array('all' => array(), 'onlyValid' => array()); // result var
// each files
foreach ($plugins as $key => $value) { // On parcours tout ce qu'on à trouvé dans le dossier
Expand Down
2 changes: 1 addition & 1 deletion app/Controller/Component/ThemeComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function getThemesInstalled($api = true)
}
// result
$themesList = (object)array();
$bypassedFiles = array('.', '..', '.DS_Store', '__MACOSX'); // not a theme
$bypassedFiles = array('.', '..', '.DS_Store', '__MACOSX', '.gitkeep'); // not a theme
// set themes on $this->themesAvailable
if ($api)
$this->getThemesOnAPI(true);
Expand Down

0 comments on commit 2fc9509

Please sign in to comment.