Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: update fakeFS.read as graceful-fs uses it #1127

Merged
merged 1 commit into from Jan 13, 2022
Merged

Commits on Jan 13, 2022

  1. test: update fakeFS.read as graceful-fs uses it

    graceful-fs broke it as it changed to use `Object.setPrototypeOf(read, fs$read`).
    
    isaacs/node-graceful-fs@c55c1b8#diff-f740ecac46b2fdaa68156b133262813aa6f66218b11d8709bab83580e76e486dR136
    
    What this means is that, if `fakeFS.read` is `undefined`, it throws an error as `Object.setPrototypeOf` doesn't accept `undefined` in its parameters.
    lamweili committed Jan 13, 2022
    Copy the full SHA
    7a3f228 View commit details
    Browse the repository at this point in the history