Исправление ошибки с фиксом интервала
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
1.0.56
|
||||
1.0.57
|
||||
|
||||
@@ -26,6 +26,6 @@ using System.Runtime.InteropServices;
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.0.56")]
|
||||
[assembly: AssemblyFileVersion("1.0.56")]
|
||||
[assembly: AssemblyInformationalVersion("1.0.56")]
|
||||
[assembly: AssemblyVersion("1.0.57")]
|
||||
[assembly: AssemblyFileVersion("1.0.57")]
|
||||
[assembly: AssemblyInformationalVersion("1.0.57")]
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace JiraTimeBot.TaskTime
|
||||
return null;
|
||||
}
|
||||
|
||||
private void FixTooBigInterval(Settings settings, int totalCommitsCount, int workHours)
|
||||
private void FixTooBigInterval(Settings settings, int workHours, int totalCommitsCount)
|
||||
{
|
||||
//если кол-во коммитов более чем кол-во интервалов - то уменьшим интервал вдвое.
|
||||
while (totalCommitsCount > (workHours * (60.0 / settings.RoundToMinutes)))
|
||||
|
||||
Reference in New Issue
Block a user