Comparing version 0.4.0 to 0.5.0
@@ -189,3 +189,3 @@ (function() { | ||
}, | ||
write: function(filePath, content, callback) { | ||
writeFile: function(filePath, content, options, callback) { | ||
return mkdirp(path.dirname(filePath), function(error) { | ||
@@ -195,3 +195,3 @@ if (error != null) { | ||
} else { | ||
return fs.writeFile(filePath, content, callback); | ||
return fs.writeFile(filePath, content, options, callback); | ||
} | ||
@@ -198,0 +198,0 @@ }); |
{ | ||
"name": "fs-plus", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "node's fs with more helpers", | ||
@@ -5,0 +5,0 @@ "main": "./lib/fs-plus.js", |
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
16863