소스 검색

Merge pull request #385 from robbieaverill/bugfix/hook-generated-files

Fix bug where generated file data was backwards in afterGenerating hooks
Shalvah 3 년 전
부모
커밋
eb9a869ac0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/Writing/Writer.php

+ 2 - 2
src/Writing/Writer.php

@@ -194,8 +194,8 @@ class Writer
             $this->generatedFiles['blade'] = realpath("{$outputPath}index.blade.php");
             $assetsOutputPath = app()->get('path.public')."/vendor/scribe/";
         }
-        $this->generatedFiles['assets']['js'] = realpath("{$assetsOutputPath}css");
-        $this->generatedFiles['assets']['css'] = realpath("{$assetsOutputPath}js");
+        $this->generatedFiles['assets']['js'] = realpath("{$assetsOutputPath}js");
+        $this->generatedFiles['assets']['css'] = realpath("{$assetsOutputPath}css");
         $this->generatedFiles['assets']['images'] = realpath("{$assetsOutputPath}images");
     }