Skip to content

Commit

Permalink
v0.6.4 (#12)
Browse files Browse the repository at this point in the history
* Update OAuthUtils.ts

* Update CHANGELOG.md

* Update package.json
  • Loading branch information
megel authored Jul 27, 2021
1 parent fbd6413 commit be9a7fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the "mme2k-powerapps-helper" extension will be documented in this file.

## 0.6.4

- Use correct login method for VS Code Azure Account extension

## 0.6.3

- Improve description in Download and Unpack "quick pick" dialog [see PR #7](https://github.com/megel/powerapps-helper/pull/7)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.3",
"version": "0.6.4",
"name": "mme2k-powerapps-helper",
"displayName": "PowerApps Helper",
"description": "PowerApps Helper",
Expand Down
4 changes: 2 additions & 2 deletions src/helpers/OAuthUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class OAuthUtils {
// Get the Azure Account from 'ms-vscode.azure-account' extension.
const azureAccount = vscode.extensions.getExtension<AzureAccount>('ms-vscode.azure-account')!.exports;
if (!(await azureAccount.waitForLogin())) {
await vscode.commands.executeCommand('azure-account.login');
await vscode.commands.executeCommand('azure-account.askForLogin');
}

if (azureAccount.sessions.length === 0) {
Expand Down Expand Up @@ -115,4 +115,4 @@ export class OAuthUtils {
return undefined;
}
}
}
}

0 comments on commit be9a7fa

Please sign in to comment.