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

[v4] Use fs.readFileSync instead of importing json file #13104

Merged
merged 1 commit into from
Mar 6, 2024

Commits on Mar 6, 2024

  1. use fs.readFileSync instead of an import

    In some environments, depending on the Node version importing a `.json`
    file without a `with` or `assert` doesn't work.
    
    Let's play it safe and use an `fs.readFileSync` instead.
    RobinMalfait committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    e56c55d View commit details
    Browse the repository at this point in the history