Parcourir la source

Fix bug where generated file data was backwards in afterGenerating hooks

Robbie Averill il y a 3 ans
Parent
commit
e43c36d247
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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");
     }