Permalink
Browse files

typos

  • Loading branch information...
isaacs committed Jan 30, 2012
1 parent 472a07b commit 6e12e2237c5b64cf2abbf92c12baafd5d2658dbc
Showing with 2 additions and 2 deletions.
  1. +2 −2 rimraf.js
View
@@ -37,7 +37,7 @@ function rimraf (p, cb) {
}
// this one won't happen if graceful-fs is used.
- if (er.code === "EMFILE" && timeout < export.EMFILE_MAX) {
+ if (er.code === "EMFILE" && timeout < exports.EMFILE_MAX) {
return setTimeout(function () {
rimraf_(p, CB)
}, timeout ++)
@@ -157,7 +157,7 @@ function rimrafSync (p) {
}
if (!writable(s)) {
- fs.chmodSync(p, s.mode | 0222), function (er) {
+ fs.chmodSync(p, s.mode | 0222)
}
if (!s.isDirectory()) return fs.unlinkSync(p)

0 comments on commit 6e12e22

Please sign in to comment.