Skip to content

Commit 837c031

Browse files
authored
fix(dart_frog_prod_server): windows build (#289)
1 parent 93e7c70 commit 837c031

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bricks/dart_frog_prod_server/hooks/pre_gen.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ Future<void> createBundle(
8282
context.logger.err('$error');
8383
return exit(1);
8484
}
85-
86-
await tempDirectory.rename(buildDirectory.path);
85+
await copyPath(tempDirectory.path, buildDirectory.path);
8786
}
8887

8988
Future<List<String>> getPathDependencies(io.Directory directory) async {

0 commit comments

Comments
 (0)