aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRichard Butler <[email protected]>2013-06-27 14:50:36 +0100
committerRichard Butler <[email protected]>2013-06-27 14:50:36 +0100
commitd40511ab3a92157b364bcd15362fff0769ebe6c6 (patch)
treeebffab6669198b0a6d0f2386b4499782464679e3 /scripts
parentb56bae1e554ff967b6dce394389225759cdbf46a (diff)
downloadfaker-d40511ab3a92157b364bcd15362fff0769ebe6c6.tar.xz
faker-d40511ab3a92157b364bcd15362fff0769ebe6c6.zip
Pretty print names files
Diffstat (limited to 'scripts')
-rw-r--r--scripts/import.js2
1 files changed, 1 insertions, 1 deletions
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 );
}