Skip to content

Commit

Permalink
Should be fstream.Writer, not just fstream
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Nov 29, 2011
1 parent 34d9593 commit 28c5a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/ini.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function writeConfigfile (configfile, data, which, cb) {
} else {
props.mode = 0644
}
fstream(props)
fstream.Writer(props)
.on("close", cb)
.on("error", cb)
.end(data)
Expand Down

0 comments on commit 28c5a49

Please sign in to comment.