4 ms·
> - val old = args[0].let(::File).readText() > - val new = args[1].let(::File).readText() > + val old = args[0].let(Paths::get).let(Paths::readString)
by wnoise 6y ago
> - val old = args[0].let(::File).readText()
> - val new = args[1].let(::File).readText()
> + val old = args[0].let(Paths::get).let(Paths::readString)
> + val new = args[0].let(Paths::get).let(Paths::readString)
Missed index. 0!=1.
- xvector 6y agoThat’s an impressive catch. I would never have noticed this. How did you get this good at code review?
- burntcookie90 6y agoFixed here: https://github.com/JakeWharton/jakewharton.com/commit/dbe1cfdefd870f12c4be3cc7d7f56368e189d869 https://github.com/JakeWharton/jakewharton.com/commit/dbe1cf...