Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andreeis committed Nov 17, 2020
1 parent 1437690 commit ce727a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cmake-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ export class CMakeTools implements vscode.Disposable, api.CMakeToolsAPI {
await this._ctestController.reloadTests(drv);

// Make sure to re-register the task provider when a new driver is created
registerTaskProvider(await this.tasksBuildCommandDrv(drv));
await registerTaskProvider(await this.tasksBuildCommandDrv(drv));

// All set up. Fulfill the driver promise.
return drv;
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ class ExtensionManager implements vscode.Disposable {

async tasksBuildCommand(folder?: vscode.WorkspaceFolder | string) {
telemetry.logEvent("substitution", {command: "tasksBuildCommand"});
return this.mapQueryCMakeTools(async cmt => await cmt.tasksBuildCommand(), folder);
return this.mapQueryCMakeTools(cmt => cmt.tasksBuildCommand(), folder);
}

async debugTarget(folder?: vscode.WorkspaceFolder, name?: string): Promise<vscode.DebugSession | null> { return this.mapCMakeToolsFolder(cmt => cmt.debugTarget(name), folder); }
Expand Down

0 comments on commit ce727a3

Please sign in to comment.