isaacs / isexe

Minimal module to check if a file is executable.
ISC License
48 stars 17 forks source link

Support invalid arguments #33

Closed bpasero closed 1 year ago

bpasero commented 1 year ago

Makes the library more robust when invalid arguments are passed in. Even with the callback based variants of fs.stat, an error will be thrown in that case directly from the method that does not go into the callback.

bpasero commented 1 year ago

Looks like this is not needed anymore.