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

fs: fix incorrect error message in fs.open family when flags are not string or int #2873

Closed
wants to merge 1 commit into from

Commits on Sep 16, 2015

  1. fs: fix the error message when file open flags are a bad type

    Before, it would show "TypeError: flags must be an int", which
    in native Node is technically correct. But in JS they may be
    (and usually are) strings.
    
    Fixes nodejs#2871
    ronkorving committed Sep 16, 2015
    Configuration menu
    Copy the full SHA
    3f691b6 View commit details
    Browse the repository at this point in the history