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

fix(ext/node): convert errors from fs.readFile/fs.readFileSync to node format #26632

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

nathanwhit
Copy link
Member

Fixes the original issue reported in #26404. storybook runs into other errors after this PR (the new errors will be fixed in other PRs).

Some code used by a dependency of storybook does a string comparison on the error message thrown here to check for a file not found error.

@nathanwhit nathanwhit force-pushed the fs-readfile-node-error branch from 26b19e1 to a8fccc8 Compare October 30, 2024 04:16
@nathanwhit nathanwhit merged commit 951103f into denoland:main Oct 31, 2024
17 checks passed
@nathanwhit nathanwhit deleted the fs-readfile-node-error branch October 31, 2024 17:02
bartlomieju pushed a commit that referenced this pull request Nov 5, 2024
…ode format (#26632)

Fixes the original issue reported in #26404. storybook runs into other
errors after this PR (the new errors will be fixed in other PRs).

Some code used by a dependency of storybook does a [string comparison on
the error
message](https://github.com/chromaui/chromatic-cli/blob/ce30b2be343cb96a0826390b95ea42befb2be547/node-src/lib/getConfiguration.ts#L88-L92)
thrown here to check for a file not found error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants