lint using oxlint (#106)
This commit is contained in:
@@ -33,7 +33,7 @@ export function getElectron(): typeof import("electron") | undefined {
|
||||
if (process.versions.electron) {
|
||||
electron = require("electron");
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// Not in Electron environment
|
||||
}
|
||||
return electron;
|
||||
|
||||
Reference in New Issue
Block a user