summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files/logging.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkglint/files/logging.go')
-rw-r--r--pkgtools/pkglint/files/logging.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/logging.go b/pkgtools/pkglint/files/logging.go
index 022798a1cad..a7de151c433 100644
--- a/pkgtools/pkglint/files/logging.go
+++ b/pkgtools/pkglint/files/logging.go
@@ -110,7 +110,7 @@ func (l *Logger) Diag(line *Line, level *LogLevel, format string, args ...interf
case int, string, error:
default:
// All paths in diagnostics must be relative to the line.
- // To achieve that, call line.File(currPath).
+ // To achieve that, call line.Rel(currPath).
_ = arg.(RelPath)
}
}