mirror of
https://github.com/kopia/kopia.git
synced 2026-10-28 09:09:30 -04:00
refactor(general): cleanup nits (#5740)
- remove useless assignment to local var - remove unused imports - remove unused log import
This commit is contained in:
1 parent
59b8dfe203
commit
70243845f5
3 files changed
-5
No files matched your search
@@ -1,7 +1,5 @@
|
||||
import "dotenv/config";
|
||||
import { notarize } from "@electron/notarize";
|
||||
import fs from "fs";
|
||||
import crypto from "crypto";
|
||||
|
||||
export default async function notarizing(context) {
|
||||
const { electronPlatformName, appOutDir } = context;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
const fs = await import("fs");
|
||||
const path = await import("path");
|
||||
const Electron = await import("electron");
|
||||
const log = await import("electron-log");
|
||||
|
||||
let configs = {};
|
||||
const configFileSuffix = ".config";
|
||||
|
||||
@@ -576,8 +576,6 @@ function showRepoNotification(e) {
|
||||
} else if (severity >= 10) {
|
||||
// warnings and errors
|
||||
urgency = "critical";
|
||||
} else {
|
||||
urgency = "normal";
|
||||
}
|
||||
|
||||
const notification = new Notification({
|
||||
|
||||
Reference in new issue
Block a user