Skip to content

Commit 4fa220c

Browse files
committed
Remove redundant type union
1 parent cfddc85 commit 4fa220c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vscode/src/rubyLsp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ export class RubyLsp {
423423
terminal.show();
424424
terminal.sendText("bundle install");
425425
}),
426-
vscode.commands.registerCommand(Command.OpenFile, (rubySourceLocation: [string, string] | string[]) => {
426+
vscode.commands.registerCommand(Command.OpenFile, (rubySourceLocation: string[]) => {
427427
// New command format: accepts an array of URIs
428428
if (typeof rubySourceLocation[0] === "string") {
429429
return openUris(rubySourceLocation);

0 commit comments

Comments
 (0)