-
-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lintcmd: make binary output OS agnostic
We were storing absolute paths and full token.Position in the binary output. This works fine when merging multiple runs from the same OS, but not so when dealing with multiple OSs, which have different path separators and different absolute paths. We also have to zero out token.Position.Offset to handle different newlines on different OSs. (cherry picked from commit 87cceb1)
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters