Shalvah 4 лет назад
Родитель
Сommit
50377ae5e4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Writing/Writer.php

+ 1 - 1
src/Writing/Writer.php

@@ -270,7 +270,7 @@ class Writer
 
         // Move assets from public/docs to $publicDirectory/vendor/scribe
         // We need to do this delete first, otherwise move won't work if folder exists
-        Utils::deleteDirectoryAndContents("$publicDirectory/vendor/scribe/", '/');
+        Utils::deleteDirectoryAndContents("$publicDirectory/vendor/scribe/");
         rename("{$this->staticTypeOutputPath}/", "$publicDirectory/vendor/scribe/");
 
         $contents = file_get_contents("$this->laravelTypeOutputPath/index.blade.php");