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 a1a0bb4 commit 965c2e8Copy full SHA for 965c2e8
Microsoft.NET.Build.Containers/Image.cs
@@ -99,7 +99,7 @@ private JsonObject CreateLabelMap()
99
return container;
100
}
101
102
- static JsonArray ToJsonArray(string[] items) => new JsonArray(items.Where(s => !string.IsNullOrEmpty(s)).Select(s => (JsonValue)s).ToArray());
+ static JsonArray ToJsonArray(string[] items) => new JsonArray(items.Where(s => !string.IsNullOrEmpty(s)).Select(s => JsonValue.Create(s)).ToArray());
103
104
public void SetEntrypoint(string[] executableArgs, string[]? args = null)
105
{
0 commit comments