Skip to content

Commit 65f0ca4

Browse files
Copilotalexr00
andcommitted
Add async keyword to command callbacks for clarity
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 32386b2 commit 65f0ca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,13 +717,13 @@ export function registerCommands(
717717
};
718718

719719
context.subscriptions.push(
720-
vscode.commands.registerCommand('pr.pickOnVscodeDev', (pr: PRNode | RepositoryChangesNode | PullRequestModel) =>
720+
vscode.commands.registerCommand('pr.pickOnVscodeDev', async (pr: PRNode | RepositoryChangesNode | PullRequestModel) =>
721721
pickPullRequest(pr, vscodeDevPrLink)
722722
),
723723
);
724724

725725
context.subscriptions.push(
726-
vscode.commands.registerCommand('pr.pickOnCodespaces', (pr: PRNode | RepositoryChangesNode | PullRequestModel) =>
726+
vscode.commands.registerCommand('pr.pickOnCodespaces', async (pr: PRNode | RepositoryChangesNode | PullRequestModel) =>
727727
pickPullRequest(pr, codespacesPrLink, true)
728728
),
729729
);

0 commit comments

Comments
 (0)