Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastGimbus committed Jan 28, 2023
2 parents 80175ce + 3a0d48e commit 1956bb9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/interactive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@ Future<void> unzip(List<File> zips, Directory dir) async {
pressEnterToContinue();
for (final zip in zips) {
print('Unzipping ${p.basename(zip.path)}...');
await extractFileToDisk(zip.path, dir.path, asyncWrite: true);
try {
await extractFileToDisk(zip.path, dir.path, asyncWrite: true);
} catch (e) {
error('Error while unzipping $zip :(\n$e');
quit(69);
}
}
}

0 comments on commit 1956bb9

Please sign in to comment.