mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix null ref in VelopackFlowSource
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user