Skip to content

Commit

Permalink
Assert objecty-ness of options in rimrafSync
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Apr 30, 2015
1 parent ad4efe8 commit 096b163
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rimraf.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ function rimrafSync (p, options) {
assert(p, 'rimraf: missing path')
assert.equal(typeof p, 'string', 'rimraf: path should be a string')
assert(options, 'rimraf: missing options')
assert.equal(typeof options, 'object', 'rimraf: options should be object')

var results

Expand Down

0 comments on commit 096b163

Please sign in to comment.