Skip to content

Commit

Permalink
fix: preferences link not pointing to right section in BAS setting pr…
Browse files Browse the repository at this point in the history
…eferences (#696)

[DEVXBUGS-9836]
  • Loading branch information
alex-gilin authored Dec 16, 2021
1 parent 9e22895 commit 8b80747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/backend/src/yeomanui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export class YeomanUI {
}

private executeCommand(id: string, ...args: any[]): void {
void this.youiEvents.executeCommand(id, ...args);
void this.youiEvents.executeCommand(id, args);
}

// eslint-disable-next-line @typescript-eslint/ban-types
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/test/yeomanui.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ describe("yeomanui unit test", () => {
const commandId = "vscode.open";
const commandArgs = [{ fsPath: "https://en.wikipedia.org" }];
youiEventsMock.expects("executeCommand").withExactArgs(commandId, commandArgs);
yeomanUi["executeCommand"](commandId, commandArgs);
yeomanUi["executeCommand"](commandId, ...commandArgs);
});
});

Expand Down

0 comments on commit 8b80747

Please sign in to comment.