[wasm] GenerateWasmBootJson - close file handles (#85480)
authorAnkit Jain <radical@gmail.com>
Thu, 27 Apr 2023 22:03:58 +0000 (18:03 -0400)
committerGitHub <noreply@github.com>
Thu, 27 Apr 2023 22:03:58 +0000 (17:03 -0500)
commit40390e225bdddf0c930a0529c7fe3c34365d7d5e
treecc395b0255cfacf14cfc8c8db301d0e1987c6e73
parent0c612cf7c36f53651e646d62d3bb362823880c00
[wasm] GenerateWasmBootJson - close file handles (#85480)

Close files opened with `File.OpenRead` by utilizing the `using`
pattern.
src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/GenerateWasmBootJson.cs