Skip to content

Commit 48975ce

Browse files
committed
fix: remove unused imports and organize imports
1 parent 6f3813d commit 48975ce

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// The module 'vscode' contains the VS Code extensibility API
22
// Import the module and reference it with the alias vscode in your code below
33
import * as vscode from "vscode";
4-
import type { API as GitApi, GitExtension, Repository } from "./@types/git";
4+
import type { GitExtension, Repository } from "./@types/git";
55
import Diffy from "./Diffy";
66

77
let app: Diffy | null = null;

src/service/GitService.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { type Extension, extensions, window } from "vscode";
33
import type { API as GitApi, GitExtension, Repository } from "../@types/git";
44
import { CONSTANTS } from "../Constants";
55
import WorkspaceService from "./WorkspaceService";
6-
import { logger } from "../utils/log";
76

87
class GitService {
98
static _instance: GitService;
@@ -257,7 +256,7 @@ class GitService {
257256

258257
return gitExtension.getAPI(1);
259258
}
260-
} catch { }
259+
} catch {}
261260

262261
return undefined;
263262
}

0 commit comments

Comments
 (0)