@@ -128,8 +128,9 @@ |
||
128 | 128 | $finder->files()->in($needstoBeUpgradedPath); |
129 | 129 | foreach ($finder as $file) { |
130 | 130 | $fileName = $file->getRelativePathname(); |
131 | - if (!file_exists($installedBuildPath . $fileName)) |
|
132 | - $filesLIst[] = $fileName; |
|
131 | + if (!file_exists($installedBuildPath . $fileName)) { |
|
132 | + $filesLIst[] = $fileName; |
|
133 | + } |
|
133 | 134 | } |
134 | 135 | return $filesLIst; |
135 | 136 | } |