Skip to content

Commit 1bab3f4

Browse files
committed
fix await method
1 parent 4d44065 commit 1bab3f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/serious_python/bin/package_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ class PackageCommand extends Command {
434434
stdout.writeln(
435435
"Creating app archive at ${dest.path} from a temp directory");
436436
final encoder = ZipFileEncoder();
437-
encoder.zipDirectory(tempDir, filename: dest.path);
437+
await encoder.zipDirectory(tempDir, filename: dest.path);
438438

439439
// create hash file
440440
stdout.writeln("Writing app archive hash to ${dest.path}.hash");

src/serious_python_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
sdk: flutter
1414
plugin_platform_interface: ^2.1.8
1515
path_provider: ^2.1.3
16-
archive: ^3.6.1
16+
archive: ^4.0.7
1717
path: ^1.9.0
1818

1919
dev_dependencies:

0 commit comments

Comments
 (0)