grunt-decomment
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "grunt-decomment", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Removes comments from JSON, JavaScript, CSS, HTML, etc.", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -11,2 +11,12 @@ 'use strict'; | ||
var files = this.data.files; | ||
if (files) { | ||
for (var f in files) { | ||
var src = files[f]; | ||
if (!grunt.file.exists(src)) { | ||
throw new Error("File '" + src + "' not found."); | ||
} | ||
} | ||
} | ||
var type, method = 'decomment', opt = this.options(); | ||
@@ -31,3 +41,2 @@ | ||
var dest = path.join(cwd, byDest.dest); | ||
byDest.src.forEach(function (f) { | ||
@@ -34,0 +43,0 @@ var file = path.join(cwd, f); |
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
5791
50