Skip to content

Commit

Permalink
fix left side cannot be null warning
Browse files Browse the repository at this point in the history
  • Loading branch information
U7nk authored and U7nk committed Nov 29, 2022
1 parent 8af3f24 commit d4fc9b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public VersionField DetermineIncrementedField(GitVersionContext context, BaseVer
return defaultIncrement;
}

return commitMessageIncrement ?? VersionField.None;
return commitMessageIncrement.Value;
}

public VersionField? GetIncrementForCommits(Config configuration, IEnumerable<ICommit> commits)
Expand Down

0 comments on commit d4fc9b4

Please sign in to comment.