Comparing version 0.2.2 to 0.2.3
@@ -122,6 +122,9 @@ var fs = require('fs'), | ||
// fs.writeFileSync(comboFile, fileContent, ''); | ||
// if exists, unlink first, otherwise, there may be some problems with the file encoding. | ||
if(fs.existsSync(comboFile)){ | ||
fs.unlinkSync(comboFile); | ||
} | ||
// write file | ||
var fd = fs.openSync(comboFile, 'w'); | ||
// write file | ||
fs.writeSync(fd, fileContent, 0, fileContent.length); | ||
@@ -128,0 +131,0 @@ fs.closeSync(fd); |
{ | ||
"name":"css-combo", | ||
"version":"0.2.2", | ||
"version":"0.2.3", | ||
"description":"css module combo tool", | ||
@@ -5,0 +5,0 @@ "author":"Dorange <daxingplay@gmail.com>", |
63464
1576