Skip to content

Commit 67c329f

Browse files
committed
update
1 parent 34df6a7 commit 67c329f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ func Unzip(srcPath, destPath string) error {
451451
}
452452

453453
// Write data to file
454-
fw, _ := os.Create(filepath.Join(destPath, f.Name))
454+
fw, err := os.Create(filepath.Join(destPath, f.Name))
455455
if err != nil {
456456
return err
457457
}

0 commit comments

Comments
 (0)