Skip to content

Commit

Permalink
fix build break
Browse files Browse the repository at this point in the history
  • Loading branch information
RodgeFu committed Dec 12, 2024
1 parent 8fa47cc commit 67271dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/typespec-vscode/src/code-action-provider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import vscode from "vscode";
import { OPEN_URL_COMMAND } from "./vscode-command.js";
import { CommandName } from "./types.js";

export function createCodeActionProvider() {
return vscode.languages.registerCodeActionsProvider(
Expand Down Expand Up @@ -61,7 +61,7 @@ export class TypeSpecCodeActionProvider implements vscode.CodeActionProvider {
vscode.CodeActionKind.QuickFix,
);
action.command = {
command: OPEN_URL_COMMAND,
command: CommandName.OpenUrl,
title: diagnostic.message,
arguments: [url],
};
Expand Down

0 comments on commit 67271dc

Please sign in to comment.