isomorphic-git / lightning-fs

A lean and fast 'fs' for the browser
MIT License
477 stars 47 forks source link

fs.rmdir(): expected a function but got undefined #20

Closed ghost closed 3 years ago

ghost commented 4 years ago

target: browser as defined in https://isomorphic-git.org/docs/en/browser

billiegoose commented 4 years ago

The callback argument is not optional. This is consistent with node, which requires callback functions.

image

Admittedly... node has a better error message. :/