diff --git a/src/Console.php b/src/Console.php index 179d4ea..2490e47 100644 --- a/src/Console.php +++ b/src/Console.php @@ -163,9 +163,10 @@ protected function getFileInfo() { $files = get_included_files(); $info = []; - + $rootPath = app()->getRootPath(); + foreach ($files as $key => $file) { - $info[] = $file . ' ( ' . number_format(filesize($file) / 1024, 2) . ' KB )'; + $info[] = str_replace($rootPath, DIRECTORY_SEPARATOR, $file) . ' ( ' . number_format(filesize($file) / 1024, 2) . ' KB )'; } return $info;