Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Bicep.Core/Registry/Providers/ExtensionV1Archive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static async Task<BinaryData> Build(ExtensionPackage package)

stream.Seek(0, SeekOrigin.Begin);

return BinaryData.FromStream(stream);
return await BinaryData.FromStreamAsync(stream);
}

public static ExtensionPackage Read(BinaryData binaryData)
Expand Down
2 changes: 1 addition & 1 deletion src/Bicep.Core/Registry/Providers/TypesV1Archive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static async Task<BinaryData> PackIntoBinaryData(IFileHandle typeIndexFil

stream.Seek(0, SeekOrigin.Begin);

return BinaryData.FromStream(stream);
return await BinaryData.FromStreamAsync(stream);
}

private static IEnumerable<string> EnumerateDistinctTypeReferences(TypeIndex index)
Expand Down
4 changes: 2 additions & 2 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.10.85" PrivateAssets="All" />
<GlobalPackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" PrivateAssets="All" />
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.300" PrivateAssets="All" />
<GlobalPackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.13.2" PrivateAssets="All" />
<GlobalPackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="18.7.23" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<PackageVersion Include="Azure.Bicep.Internal.RoslynAnalyzers" Version="0.1.60" />
Expand Down Expand Up @@ -71,7 +71,7 @@
<PackageVersion Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Version="3.12.2149" />
<PackageVersion Include="Microsoft.VisualStudio.Shell.Framework" Version="17.12.40391" />
<PackageVersion Include="Microsoft.VisualStudio.Shell.Interop" Version="17.12.40391" />
<PackageVersion Include="Microsoft.VisualStudio.Threading" Version="17.12.19" />
<PackageVersion Include="Microsoft.VisualStudio.Threading" Version="18.7.23" />
<PackageVersion Include="Microsoft.VisualStudio.Utilities" Version="17.12.40391" />
<PackageVersion Include="Microsoft.VisualStudio.Workspace" Version="17.1.11-preview-0002" />
<PackageVersion Include="Microsoft.VisualStudio.Workspace.VSIntegration" Version="17.1.11-preview-0002" />
Expand Down
Loading