Support git submodules in october:util git pull (#5047)

This commit is contained in:
Calum 2020-04-20 02:56:19 +01:00 committed by GitHub
parent 6097566c52
commit 1c621ae4c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -313,7 +313,7 @@ class OctoberUtil extends Command
{
foreach (File::directories(plugins_path()) as $authorDir) {
foreach (File::directories($authorDir) as $pluginDir) {
if (!File::isDirectory($pluginDir.'/.git')) {
if (!File::exists($pluginDir.'/.git')) {
continue;
}
@ -325,7 +325,7 @@ class OctoberUtil extends Command
}
foreach (File::directories(themes_path()) as $themeDir) {
if (!File::isDirectory($themeDir.'/.git')) {
if (!File::exists($themeDir.'/.git')) {
continue;
}