Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: improve error message for invalid flag
Flags on fs.open and others can be passed as strings or int. Previously, if passing anything other than string or int, the error message would only say that flags must be an int. PR-URL: #5590 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
- Loading branch information