Comparing version 0.1.10 to 0.1.11
{ | ||
"name": "grunt-kmc", | ||
"description": "Grunt plugin for KISSY Module Compiler", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"homepage": "https://github.com/daxingplay/grunt-kmc", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -74,3 +74,2 @@ /* | ||
mod.dependencies.forEach(function(subMod){ | ||
console.log('sub mod name is : ' + subMod.name); | ||
requires.push("'" + subMod.name + "'"); | ||
@@ -89,3 +88,3 @@ }); | ||
} | ||
fs.writeFileSync(path.resolve(options.depFilePath), r, {'encoding':'utf8'}); | ||
grunt.file.write(options.depFilePath, r, {'encoding':'utf8'}); | ||
} | ||
@@ -92,0 +91,0 @@ }); |
15492
280