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 df576b4 commit bf7e463Copy full SHA for bf7e463
src/WPF/GeneralUpdate.Packet/Utils/HttpUtil.cs
@@ -18,7 +18,7 @@ public static async Task PostTaskAsync<T>(string httpUrl, Dictionary<string, str
18
content.Add(stringContent, parameter.Key);
19
}
20
21
- if (string.IsNullOrWhiteSpace(filePath) && File.Exists(filePath))
+ if (!string.IsNullOrWhiteSpace(filePath) && File.Exists(filePath))
22
{
23
var fileStream = File.OpenRead(filePath);
24
var fileInfo = new FileInfo(filePath);
0 commit comments