Skip to content

Commit

Permalink
fix introduced regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Apr 10, 2012
1 parent 0762b05 commit 3f2c734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ exports.writeFile = function writeFile(path, content, encoding, callback) {
try {
if (isFunction(encoding)) {
callback = encoding
encoding = callback
encoding = null
}
if (isString(content))
content = new Buffer(content, encoding);
Expand Down

0 comments on commit 3f2c734

Please sign in to comment.