提交 09f36151 编写于 作者: 1 18721213663 提交者: zhuhongtao666
上级 d34df238
......@@ -280,7 +280,6 @@ close(file: number|File): Promise<void>
let file = fs.openSync(filePath);
fs.close(file).then(() => {
console.info("close file succeed");
fs.closeSync(file);
}).catch((err) => {
console.info("close file failed with error message: " + err.message + ", error code: " + err.code);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册