[lintian] 02/02: checks/watch-file.pm: Don't use $& match variable to appease critic.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 5e61d3f454497555b05812aa867430e2fedb7d45
Author: Chris Lamb <lamby@debian.org>
Date: Fri Oct 13 21:02:36 2017 -0400
checks/watch-file.pm: Don't use $& match variable to appease critic.
---
checks/watch-file.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/watch-file.pm b/checks/watch-file.pm
index b3de51b..abe3d14 100644
--- a/checks/watch-file.pm
+++ b/checks/watch-file.pm
@@ -137,8 +137,8 @@ sub run {
/projects/.+/files}xsm
) {
tag 'debian-watch-file-should-use-sf-redirector', "line $.";
- } elsif (m%(?:http|ftp):\S+%) {
- tag 'debian-watch-uses-insecure-uri',$&;
+ } elsif (m%((?:http|ftp):\S+)%) {
+ tag 'debian-watch-uses-insecure-uri',$1;
}
# This bit is as-is from uscan.pl:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: