-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.
Description
Hi. Today I tried to run something similar to this:
var data = true;
fs.write(fd, data, cb);
data value must be coerced to string as mentioned in API.
But that failed with message:
Assertion failed: val->IsString() == true, file src\string_bytes.cc, line 286
fs.writeSync, however worked well.
Then I found this:
https://github.com/iReal/io.js/blob/v1.x/lib/fs.js#L632-L633
There should be !==, not ===.
Metadata
Metadata
Assignees
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.