Skip to content

Commit

Permalink
Change API version to use ^ (#2270)
Browse files Browse the repository at this point in the history
  • Loading branch information
nturinski authored Mar 13, 2024
1 parent 6ddedae commit 9e1ea15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/getExtensionApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function getApiExport<T>(extensionId: string): Promise<T | undefine
export async function getResourceGroupsApi(): Promise<AzureHostExtensionApi> {
const rgApiProvider = await getApiExport<apiUtils.AzureExtensionApiProvider>('ms-azuretools.vscode-azureresourcegroups');
if (rgApiProvider) {
return rgApiProvider.getApi<AzureHostExtensionApi>('0.0.1');
return rgApiProvider.getApi<AzureHostExtensionApi>('^0.0.1');
} else {
throw new Error(localize('noResourceGroupExt', 'Could not find the Azure Resource Groups extension'));
}
Expand Down

0 comments on commit 9e1ea15

Please sign in to comment.