Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBoosY committed Nov 18, 2023
1 parent fc86cf1 commit 7599667
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"icon": "images/vcpkg-logo.png",
"publisher": "JackBoosY",
"license": "MIT",
"version": "2.0.7",
"version": "2.0.8",
"engines": {
"vscode": "^1.76.0"
},
Expand Down
10 changes: 5 additions & 5 deletions src/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,10 +628,6 @@ export class ConfigurationManager implements vscode.Disposable
this.logInfo('cmake options: ' + newConfigs.toString());
await this.updateCMakeSetting(this._cmakeOptionConfig, newConfigs);
}
async showCurrentTriplet()
{
vscode.window.showInformationMessage('Current triplet is: ' + this.getCurrentTriplet());
}

private getAllSupportedTriplets()
{
Expand Down Expand Up @@ -705,10 +701,14 @@ export class ConfigurationManager implements vscode.Disposable
{
return workspace.getConfiguration('vcpkg').get<string>(this._targetTripletConfig);
}
async showCurrentTriplet()
{
vscode.window.showInformationMessage('Current triplet is: ' + await this.getCurrentTriplet());
}

async showCurrentHostTriplet()
{
vscode.window.showInformationMessage('Current host triplet is: ' + this.getCurrentHostTriplet());
vscode.window.showInformationMessage('Current host triplet is: ' + await this.getCurrentHostTriplet());
}

async getCurrentHostTriplet()
Expand Down

0 comments on commit 7599667

Please sign in to comment.