aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-26 16:16:23 -0400
committerB. Watson <urchlay@slackware.uk>2023-05-26 16:16:23 -0400
commit9666c3e1c01fb60af88046ad2f0b086b78912ae2 (patch)
tree059ed1aaf919c9612eccd3e4609cf9832086edb0
parent40cf760ba508a028ec452897ad03c99fc6eaf144 (diff)
downloadsbo-maintainer-tools-9666c3e1c01fb60af88046ad2f0b086b78912ae2.tar.gz
sbolint: get rid of "trailing whitespace on description line" error (life is too short to worry about it).0.8.1
-rwxr-xr-xsbolint7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbolint b/sbolint
index fe0f3d9..4711a30 100755
--- a/sbolint
+++ b/sbolint
@@ -813,9 +813,10 @@ sub check_slackdesc {
} elsif(length($text) && $text !~ /^ /) {
log_error("slack-desc:$lineno: missing whitespace after colon, on non-blank line");
} else {
- if($text =~ /\s$/) {
- log_error("slack-desc:$lineno: trailing whitespace on description line");
- }
+ # The world is not ready for this:
+ ###if($text =~ /\s$/) {
+ ### log_error("slack-desc:$lineno: trailing whitespace on description line");
+ ###}
if(length($text) > 71) {
log_error("slack-desc:$lineno: text too long, %d characters, should be <= 71", length($text));
}