nitpretty: does not assert for location on catch_up
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 8 Jan 2015 09:58:40 +0000 (10:58 +0100)
committerAlexandre Terrasa <alexandre@moz-code.org>
Tue, 13 Jan 2015 16:47:43 +0000 (17:47 +0100)
commit9d9a7564103faa448310c7ba471ba3054ba11456
tree995cd71e31b14592c39bb84c2f7646a59cee82b4
parenteb174875a1e5a43b8b73bb8db197c96cd7531361
nitpretty: does not assert for location on catch_up

This simple fix avoid assert failed on catch_up.
Does a no-op if current_location is after the target location.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/pretty.nit