avoid a null ref

main
Paul Schneider 1 year ago
parent e2775dedaf
commit 77a16c5551
1 changed files with 1 additions and 1 deletions

@ -71,7 +71,7 @@ namespace isnd.Data.Catalog
}
Upper = upper.ToFullString();
Lower = lower.ToFullString();
if (latest != null)
if (latest != null && latest.LatestCommit !=null)
{
CommitId = latest.CommitId;
CommitTimeStamp = latest.LatestCommit.CommitTimeStamp;

Loading…