grunt-add-comment
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "grunt-add-comment", | ||
"description": "Prepend or append some comments to your autogenerated files", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://github.com/PillowPillow/grunt-add-comment", | ||
@@ -14,3 +14,4 @@ "author": { | ||
"inject", | ||
"inject comments" | ||
"inject comments", | ||
"gruntplugin" | ||
], | ||
@@ -17,0 +18,0 @@ "repository": { |
@@ -31,2 +31,4 @@ /* | ||
var count = 0; | ||
var comment = '', content, extension, commentSyntax; | ||
@@ -56,4 +58,7 @@ this.files.forEach(function(el) { | ||
grunt.file.write(el.dest, content); | ||
grunt.log.writeln('File "' + el.dest + '" edited.'); | ||
grunt.log.debug('File "' + el.dest + '" edited.'); | ||
count++; | ||
}); | ||
grunt.log.ok(count + ' files edited'); | ||
}); | ||
@@ -60,0 +65,0 @@ }); |
@@ -0,3 +1,5 @@ | ||
// this file is autogenerated | ||
// this file is autogenerated 2 | ||
console.log('an amazing test'); | ||
// this file is autogenerated | ||
// this file is autogenerated 2 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12807
85