DEP0013:fs 不带回调的异步函数
¥DEP0013: fs
asynchronous function without callback
类型:生命结束
¥Type: End-of-Life
在 Node.js 10.0.0 及更高版本中调用不带回调的异步函数会抛出 TypeError
。参见 https://github.com/nodejs/node/pull/12562。
¥Calling an asynchronous function without a callback throws a TypeError
in Node.js 10.0.0 onwards. See https://github.com/nodejs/node/pull/12562.