The callback no longer takes any arguments from the inner function, so we might
as well call it sooner and pass the value instead. Note the value still needs
to be recomputed every iteration to account for the previous iteration's
changes to the file content.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGe9f503074044: fix: pass line ranges as value instead of callback
rHG64a0cb2d4692: fix: pass line ranges as value instead of callback
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.