forked from Blendman974/faceclaw
Introduce oxlint, and fix lint warnings
This commit is contained in:
1 parent
cb6dddd120
commit
06146c2b08
89 files changed
+818
-469
No files matched your search
@@ -97,7 +97,7 @@ export async function readUpcomingEventsAsync(maxEvents = 50, windowMs = DEFAULT
|
||||
try {
|
||||
if (!hasCalendarPermission()) throw new Error("Calendar permission is required.");
|
||||
resolve(parseEvents(json, error, maxEvents, endMs));
|
||||
} catch (error) { reject(error); }
|
||||
} catch (err) { reject(err); }
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user