mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
Prevent null exception from clrTags.Result
This commit is contained in:
parent
d923703a3a
commit
59789c6e41
@ -326,7 +326,7 @@ namespace UpdateAssemblyInfo
|
||||
var gitPath = GetGitPath();
|
||||
if (clrTags.RunCommandAndGetOutput(gitPath, "describe --long --tags", workingDirectory))
|
||||
{
|
||||
if (clrTags.Result.Contains("RC"))
|
||||
if (clrTags.Result != null && clrTags.Result.Contains("RC"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user