Skip to content

Commit

Permalink
archive
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtian616 committed Sep 25, 2024
1 parent 171fa2b commit 41d3879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/utils/archive_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Future<bool> extractZipArchive(String archivePath, String extractPath) {
InputFileStream? inputStream;
try {
inputStream = InputFileStream(path[0]);
extractArchiveToDisk(ZipDecoder().decodeBuffer(inputStream), path[1]);
await extractArchiveToDisk(ZipDecoder().decodeBuffer(inputStream), path[1]);
} on Exception catch (_) {
return false;
} finally {
Expand Down

0 comments on commit 41d3879

Please sign in to comment.