Skip to content

Commit 1ce7698

Browse files
committed
style: apply formatter to editor.ts
1 parent 1f3168c commit 1ce7698

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

packages/core/src/utils/editor.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@
66

77
import { execSync, spawn } from 'child_process';
88

9-
export type EditorType = 'vscode' | 'windsurf' | 'cursor' | 'vim' | 'neovim' | 'zed';
9+
export type EditorType =
10+
| 'vscode'
11+
| 'windsurf'
12+
| 'cursor'
13+
| 'vim'
14+
| 'neovim'
15+
| 'zed';
1016

1117
function isValidEditorType(editor: string): editor is EditorType {
12-
return ['vscode', 'windsurf', 'cursor', 'vim', 'neovim', 'zed'].includes(editor);
18+
return ['vscode', 'windsurf', 'cursor', 'vim', 'neovim', 'zed'].includes(
19+
editor,
20+
);
1321
}
1422

1523
interface DiffCommand {

0 commit comments

Comments
 (0)