wuwen1030 / oclint_argument_list_too_long_solution

Solution to oclint error "Argument list too long"
MIT License
27 stars 10 forks source link

Fixed edge case when ignoring very last file #1

Closed dymv closed 8 years ago

dymv commented 8 years ago

I believe there is a problem in dividing large json file. For example if we have 2418 files in original json. We end up with two jsons 2000 and 417 files each (because we subtracting 1 from end index), python do not include last index when using [start:end] operator.

wuwen1030 commented 8 years ago

Thank you. D:)

dymv commented 8 years ago

Thanks for the merge!