From 341dec6d992f7e25d006820e7510f8ec72b69f5d Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Mon, 15 Jun 2026 22:48:11 +0200 Subject: [PATCH] Fix avoid_slow_async_io lint warning --- lib/database/powersync/powersync.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/database/powersync/powersync.dart b/lib/database/powersync/powersync.dart index 1d520bfc2..a968de68a 100644 --- a/lib/database/powersync/powersync.dart +++ b/lib/database/powersync/powersync.dart @@ -214,7 +214,7 @@ Future deletePowerSyncDatabaseFile() async { for (final suffix in ['', '-wal', '-shm', '-journal']) { final file = File('$path$suffix'); try { - if (await file.exists()) { + if (file.existsSync()) { await file.delete(); } } catch (e, s) {