]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Add a newline at the end of component.json
authorIskren Chernev <iskren.chernev@gmail.com>
Wed, 30 Jul 2014 04:38:42 +0000 (21:38 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Wed, 30 Jul 2014 04:38:42 +0000 (21:38 -0700)
tasks/component.js

index 04b95ae2ffb4c6368086b0f92f678bdcf0f225a9..cc11fa68517ea243d3ffae26f14fed5f7ccb9813 100644 (file)
@@ -5,6 +5,6 @@ module.exports = function (grunt) {
         config.files = grunt.file.expand('locale/*.js');
         config.files.unshift('moment.js');
 
-        grunt.file.write('component.json', JSON.stringify(config, true, 2));
+        grunt.file.write('component.json', JSON.stringify(config, true, 2) + '\n');
     });
 }