Closed
Description
- Version: v8.1.2
- Platform: win10 64bit
var fs = require('fs');
fs.writeFile('test: abc.js', 'aaaa', function (err) {
debugger;
});
The filename has a colon which is not allowed on win10.
The piece of code wrote a file named test
which suppose to be test: abc.js
, and there was no content.
The execution was failed, but there was no error. Parameter err
is null
.