summaryrefslogtreecommitdiffstats
path: root/common/herrors
diff options
context:
space:
mode:
Diffstat (limited to 'common/herrors')
-rw-r--r--common/herrors/error_locator.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/herrors/error_locator.go b/common/herrors/error_locator.go
index 15de6d318..3778a3729 100644
--- a/common/herrors/error_locator.go
+++ b/common/herrors/error_locator.go
@@ -206,7 +206,7 @@ func locateError(r io.Reader, le FileError, matches LineMatcherFn) ErrorContext
lines := strings.Split(string(b), "\n")
- if le != nil && lepos.ColumnNumber >= 0 {
+ if lepos.ColumnNumber >= 0 {
pos.ColumnNumber = lepos.ColumnNumber
}