Skip to content

Commit cf358e8

Browse files
committed
fix issue with async call
1 parent 5624310 commit cf358e8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/src/build.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class Build {
2222
await context.analyzer.resolveUnitAt(context.resolveUri(astUri));
2323
});
2424

25-
// ok - we should ask each compiler if they want any ASTs resolved here
2625
print("Generating runtime...");
2726

2827
final runtimeGenerator = RuntimeGenerator();
@@ -144,7 +143,7 @@ class Build {
144143

145144
void copyPackage(Uri srcUri, Uri dstUri) {
146145
copyDirectory(src: srcUri.resolve("lib/"), dst: dstUri.resolve("lib/"));
147-
context.getFile(srcUri.resolve("pubspec.yaml")).copy(
146+
context.getFile(srcUri.resolve("pubspec.yaml")).copySync(
148147
dstUri.resolve("pubspec.yaml").toFilePath(windows: Platform.isWindows));
149148
}
150149

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: runtime
22
description: Provides behaviors and base types for packages that can use mirrors and be AOT compiled.
3-
version: 1.0.0-8
3+
version: 1.0.0-9
44
author: Joe Conway <[email protected]>
55
homepage: https://stablekernel.com
66

0 commit comments

Comments
 (0)