Исправление NRE
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
1.0.91
|
1.0.92
|
||||||
|
|||||||
@@ -26,6 +26,6 @@ using System.Runtime.InteropServices;
|
|||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("1.0.91")]
|
[assembly: AssemblyVersion("1.0.92")]
|
||||||
[assembly: AssemblyFileVersion("1.0.91")]
|
[assembly: AssemblyFileVersion("1.0.92")]
|
||||||
[assembly: AssemblyInformationalVersion("1.0.91")]
|
[assembly: AssemblyInformationalVersion("1.0.92")]
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ namespace JiraTimeBot.RepositoryProviders
|
|||||||
bool directBranchHasBeenFound = false;
|
bool directBranchHasBeenFound = false;
|
||||||
foreach (var branch in repo.Branches)
|
foreach (var branch in repo.Branches)
|
||||||
{
|
{
|
||||||
if (branch.Tip.Sha != commitSha)
|
if (branch.Tip?.Sha != commitSha)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user