fix(shorebird_cli): properly close zip input stream (#1866)
This commit is contained in:
@@ -88,8 +88,8 @@ Failed to create diff (exit code ${result.exitCode}).
|
||||
await Isolate.run(() async {
|
||||
final inputStream = InputFileStream(zipFile.path);
|
||||
final archive = ZipDecoder().decodeBuffer(inputStream);
|
||||
inputStream.closeSync();
|
||||
extractArchiveToDisk(archive, outputDirectory.path);
|
||||
inputStream.closeSync();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user