Fix null ref in VelopackFlowSource

This commit is contained in:
Caelan Sayler
2025-03-13 00:01:07 +00:00
committed by Caelan
parent 3a90ad2ac5
commit ff17314bdc

View File

@@ -47,7 +47,7 @@ namespace Velopack.Sources
args.Add("rid", VelopackRuntimeInfo.SystemRid);
}
if (latestLocalRelease != null) {
if (latestLocalRelease?.Version != null) {
args.Add("localVersion", latestLocalRelease.Version.ToString());
}