Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / src / Command / Other / HtmlPage.php
index 8e6e2e41c57fd00dfe470f8e90b6bc2c3d2de3b1..0dc1518298dd0c9f52796ba9004a92bf2dff6643 100644 (file)
@@ -32,11 +32,11 @@ class HtmlPage extends BaseGenerator {
 
     $this->addFile()
       ->path('css/main.css')
-      ->content('body{background-color: #EEE}');
+      ->content("body{\n  background-color: #EEE;\n}\n");
 
     $this->addFile()
       ->path('js/main.js')
-      ->content("console.log('It works!');");
+      ->content("console.log('It works!');\n");
   }
 
 }