Skip to content

Commit

Permalink
Fix bug in using the variable (#11611)
Browse files Browse the repository at this point in the history
  • Loading branch information
asilverman authored Aug 25, 2023
1 parent d620a8d commit 744dd34
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Bicep.Core/TypeSystem/Az/AzResourceTypeLoaderFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ public IAzResourceTypeLoader GetBuiltInTypeLoader()
var azProviderDir = Path.Combine(
features.CacheRootDirectory,
ModuleReferenceSchemes.Oci,
LanguageConstants.BicepPublicMcrRegistry,
$"bicep$providers$az{providerVersion}$");
FeatureProvider.ReadEnvVar("__EXPERIMENTAL_BICEP_REGISTRY_FQDN", LanguageConstants.BicepPublicMcrRegistry),
"bicep$providers$az",
$"{providerVersion}$");
var ociManifestPath = Path.Combine(azProviderDir, "manifest");
if (!File.Exists(ociManifestPath))
{
Expand Down

0 comments on commit 744dd34

Please sign in to comment.