Explorar o código

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

Fix bug where generated file data was backwards in afterGenerating hooks
Shalvah %!s(int64=3) %!d(string=hai) anos
pai
achega
eb9a869ac0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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");
     }