@@ -24,28 +24,28 @@ function clear_directory($dir) {
2424}
2525
2626$ start = microtime (1 );
27- echo 'Building! ' ;
27+ echo 'Building! ' . "\n" ;
2828
2929// Check JSON formatting
3030foreach (glob (__DIR__ .'/../data/codes/* ' ) as $ file ) {
3131 $ code = json_decode (file_get_contents ($ file ), 1 );
3232 if (!json_validate (file_get_contents ($ file ))) {
33- die ("The file $ file is not valid JSON. Please correct the format and try again. " );
33+ die ("The file $ file is not valid JSON. Please correct the format and try again. \n " );
3434 }
3535}
3636
3737$ file = __DIR__ .'/../data/contributors.json ' ;
3838if (!json_validate (file_get_contents ($ file ))) {
39- die ("The file $ file is not valid JSON. Please correct the format and try again. " );
39+ die ("The file $ file is not valid JSON. Please correct the format and try again. \n " );
4040}
4141
4242$ file = __DIR__ .'/../data/providers.json ' ;
4343if (!json_validate (file_get_contents ($ file ))) {
44- die ("The file $ file is not valid JSON. Please correct the format and try again. " );
44+ die ("The file $ file is not valid JSON. Please correct the format and try again. \n " );
4545}
4646
4747clear_directory ($ docs_dir );
48- echo 'Cleared existing /docs directory. ' ;
48+ echo 'Cleared existing /docs directory. ' . "\n" ;
4949
5050mkdir ($ docs_dir .'/assets ' , 0755 , true );
5151
@@ -354,4 +354,4 @@ function clear_directory($dir) {
354354
355355$ end = microtime (1 );
356356
357- echo 'Built smtp.codes in ' .round (($ end - $ start ), 3 ).' seconds. <a href=" https://smtp.codes/">View the site.</a> ' ;
357+ echo 'Built smtp.codes in ' .round (($ end - $ start ), 3 ).' seconds. View the site: https://smtp.codes"\n"; ' ;
0 commit comments