From d40511ab3a92157b364bcd15362fff0769ebe6c6 Mon Sep 17 00:00:00 2001 From: Richard Butler Date: Thu, 27 Jun 2013 14:50:36 +0100 Subject: Pretty print names files --- scripts/import.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/import.js b/scripts/import.js index e2a3ba11..546915c2 100644 --- a/scripts/import.js +++ b/scripts/import.js @@ -14,7 +14,7 @@ function importNames( inputFile, outputFile ) { return name !== ""; }); - output = "module.exports = [ '" + names.join( "', '" ) + "' ];"; + output = "module.exports = [\n '" + names.join( "',\n '" ) + "'\n];\n"; fs.writeFileSync( __dirname + "/" + outputFile, output ); } -- cgit v1.2.3