Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit 348fb33

Browse files
Added cleaning redundant files
1 parent 9d20526 commit 348fb33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Installer/Composer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static function install(\Composer\Script\Event $event)
7575
*/
7676
public static function clear()
7777
{
78-
$rootDir = \ROOT_DIRECTORY . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR;
78+
$rootDir = realpath(__DIR__ . '/../../') . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR;
7979
foreach (new \DirectoryIterator($rootDir) as $level1) {
8080
if ($level1->isDir() && !$level1->isDot()) {
8181
foreach (new \DirectoryIterator($level1->getPathname()) as $level2) {

0 commit comments

Comments
 (0)