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

!4246 【OpenHarmony开源贡献者计划2022】zlib样例修改

Merge pull request !4246 from wanghang/master
......@@ -63,7 +63,7 @@ var options = {
strategy: zlib.CompressStrategy.COMPRESS_STRATEGY_DEFAULT_STRATEGY
};
zlib.zipFile(inFile , unzipDir, options).then((data) => {
zlib.zipFile(inFile , outFile, options).then((data) => {
console.log("zipFile result:" + data);
}).catch((err)=>{
console.log("catch((err)=>" + err);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册