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: toString PID number for writeFileSync (second arg requires string) #573

Merged
merged 1 commit into from
Oct 14, 2020

Commits on Oct 13, 2020

  1. fix: toString PID number for writeFileSync (second arg requires s…

    …tring)
    
    Node 14 will no longer coerce incorrect types given to `writeFileSync`.
    
    The error thrown:
    
    ```
    TypeError: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number
    ```
    Robdel12 committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    817b453 View commit details
    Browse the repository at this point in the history