未验证 提交 ba24baf0 编写于 作者: O openharmony_ci 提交者: Gitee

!20035 fileio补充废弃替代说明

Merge pull request !20035 from zhuhongtao666/630
......@@ -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.
先完成此消息的编辑!
想要评论请 注册