Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2021-03-02 08:24:15 +00:00
parent 4eb2e318af
commit ff3a30d245
2 changed files with 2 additions and 2 deletions

View file

@ -308,7 +308,7 @@ module Api
# low, second is high - same as with bounding boxes.
# check that we actually have 2 elements in the array
times = time.split(/,/)
times = time.split(",")
raise OSM::APIBadUserInput, "bad time range" if times.size != 2
from, to = times.collect { |t| Time.parse(t) }