Corrected with rubocop cop 'Style/WhileUntilDo'.
This commit is contained in:
parent
dd130cb704
commit
7717f7fec7
|
@ -281,5 +281,3 @@ Lint/Loop:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/For:
|
Style/For:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/WhileUntilDo:
|
|
||||||
Enabled: false
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ put working hours matrix and timezone in function, returns UTC working hours mat
|
||||||
count = 0
|
count = 0
|
||||||
calculation = true
|
calculation = true
|
||||||
first_loop = true
|
first_loop = true
|
||||||
while calculation do
|
while calculation
|
||||||
week_day = start_time.wday
|
week_day = start_time.wday
|
||||||
day = start_time.day
|
day = start_time.day
|
||||||
month = start_time.month
|
month = start_time.month
|
||||||
|
@ -257,7 +257,7 @@ put working hours matrix and timezone in function, returns UTC working hours mat
|
||||||
count = diff_in_min * 60
|
count = diff_in_min * 60
|
||||||
calculation = true
|
calculation = true
|
||||||
first_loop = true
|
first_loop = true
|
||||||
while calculation do
|
while calculation
|
||||||
week_day = start_time.wday
|
week_day = start_time.wday
|
||||||
day = start_time.day
|
day = start_time.day
|
||||||
month = start_time.month
|
month = start_time.month
|
||||||
|
|
Loading…
Reference in a new issue