Skip to content

Commit 6d63290

Browse files
committed
Don't copy worker file to itself
1 parent abe5d3a commit 6d63290

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tool/compile_webworker.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ Future<void> main() async {
3232
'Could not compile db worker.\nstdout: ${dbWorkerProcess.stdout.toString()}\nstderr: ${dbWorkerProcess.stderr.toString()}');
3333
}
3434

35-
final workerFile = File(dbWorkerOutputPath);
36-
37-
// Copy workers to powersync
38-
final powersyncCoreAssetsPath =
39-
path.join(repoRoot, 'packages/powersync/assets');
40-
workerFile.copySync('$powersyncCoreAssetsPath/$workerFilename');
41-
4235
// Copy this to all demo apps web folders
4336
final demosRoot = path.join(repoRoot, 'demos');
4437
final demoDirectories =

0 commit comments

Comments
 (0)