Skip to content

Commit 99f576a

Browse files
committed
lint
1 parent bee60ef commit 99f576a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sendCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const sendCommand = async <T, K = any>(command: TriggerCharacterCommand,
1414
console.warn('Ignoring request because plugin is disabled')
1515
return
1616
}
17+
1718
if (!vscode.extensions.getExtension('vscode.typescript-language-features')) {
1819
const message = 'Special commands are not supported in Volar takeover mode'
1920
if (passthroughExposedApiCommands.includes(command as any)) {
@@ -22,6 +23,7 @@ export const sendCommand = async <T, K = any>(command: TriggerCharacterCommand,
2223
} else {
2324
throw new Error(message)
2425
}
26+
2527
return
2628
}
2729

0 commit comments

Comments
 (0)