We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a95695 commit f5f932fCopy full SHA for f5f932f
src/Tools/dotnet-user-secrets/src/Internal/SetCommand.cs
@@ -61,7 +61,7 @@ public sealed class FromStdInStrategy : ICommand
61
public void Execute(CommandContext context)
62
{
63
// parses stdin with the same parser that Microsoft.Extensions.Configuration.Json would use
64
- var provider = new ReadableJsonConfigurationProvider();
+ using var provider = new ReadableJsonConfigurationProvider();
65
using (var stream = new MemoryStream())
66
67
using (var writer = new StreamWriter(stream, Encoding.Unicode, 1024, true))
0 commit comments