Return to pkglint.go CVS log | Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint / files |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.50, 2019/04/03 21:49:51 | version 1.51, 2019/04/20 17:43:24 | ||
---|---|---|---|
|
|
||
} | } | ||
if lines.Len() < 3 { | if lines.Len() < 3 { | ||
lines.LastLine().Warnf("File too short.") | line := lines.LastLine() | ||
G.Explain(explanation()...) | line.Warnf("File too short.") | ||
line.Explain(explanation()...) | |||
return | return | ||
} | } | ||