diff options
| author | Bruno Ortiz <brunortiz11@gmail.com> | 2023-04-26 22:02:38 -0300 |
|---|---|---|
| committer | Bruno Ortiz <brunortiz11@gmail.com> | 2023-05-02 11:01:53 -0300 |
| commit | 072f69e4c16bb49f9fd94989029d3e5086e8ac22 (patch) | |
| tree | 277433765586c6380c5dd4322a6e04715e72ebee /editors/code/src/ctx.ts | |
| parent | bd2160f014aa0bd6761c90697e00650bf008993a (diff) | |
| download | rust-072f69e4c16bb49f9fd94989029d3e5086e8ac22.tar.gz rust-072f69e4c16bb49f9fd94989029d3e5086e8ac22.zip | |
fixing ts linting and rust test
Diffstat (limited to 'editors/code/src/ctx.ts')
| -rw-r--r-- | editors/code/src/ctx.ts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index 60ea7695795..8bed74b88ea 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts @@ -33,12 +33,12 @@ import { ExecOptions } from "child_process"; export type Workspace = | { kind: "Empty" } | { - kind: "Workspace Folder"; -} + kind: "Workspace Folder"; + } | { - kind: "Detached Files"; - files: vscode.TextDocument[]; -}; + kind: "Detached Files"; + files: vscode.TextDocument[]; + }; export function fetchWorkspace(): Workspace { const folders = (vscode.workspace.workspaceFolders || []).filter( @@ -52,9 +52,9 @@ export function fetchWorkspace(): Workspace { ? rustDocuments.length === 0 ? { kind: "Empty" } : { - kind: "Detached Files", - files: rustDocuments, - } + kind: "Detached Files", + files: rustDocuments, + } : { kind: "Workspace Folder" }; } @@ -476,4 +476,4 @@ export interface Disposable { dispose(): void; } -export type Cmd = (...args: any[]) => unknown; \ No newline at end of file +export type Cmd = (...args: any[]) => unknown; |
