test: new changes in decompress method

This commit is contained in:
HFO4
2022-04-25 17:23:42 +08:00
parent ac78e9db02
commit cb51046305
3 changed files with 26 additions and 27 deletions

View File

@@ -82,7 +82,7 @@ func (job *DecompressTask) Do() {
job.TaskModel.SetProgress(DecompressingProgress)
err = fs.Decompress(context.Background(), job.TaskProps.Src, job.TaskProps.Dst)
err = fs.Decompress(context.Background(), job.TaskProps.Src, job.TaskProps.Dst, "")
if err != nil {
job.SetErrorMsg("解压缩失败", err)
return