This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Description
Exceptions will be thrown under NodeJS 14.15.0.
The object returned by fs.promises.open contains the Symbol. Cannot convert a Symbol value to a string
fs.promises.open('xxx/index.js', 'r').then((fh) => {
fh.close();
_fh = Object.getPrototypeOf(fh);
console.log(Reflect.ownKeys(_fh));
});
[
'constructor',
'getAsyncId',
'fd',
'appendFile',
'chmod',
'chown',
'datasync',
'sync',
'read',
'readv',
'readFile',
'stat',
'truncate',
'utimes',
'write',
'writev',
'writeFile',
Symbol(messaging_transfer_symbol),
Symbol(messaging_transfer_list_symbol),
Symbol(messaging_deserialize_symbol)
]
Environment
- Operation system:
- Node version: 14.15.0
- Tracer version:
- Agent version: