[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: Check for the css_browser_selector function call, not some descriptive text. Thanks to Julian Gilbey for the suggestion. (Refs: #874381)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 8a3ec288801ffff1b93e5f55c31bcf366bff5a8f
Author: Chris Lamb <lamby@debian.org>
Date:   Wed Sep 6 22:10:47 2017 +0100

    Check for the css_browser_selector function call, not some descriptive text. Thanks to Julian Gilbey for the suggestion. (Refs: #874381)
---
 checks/cruft.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index 568f89e..d509e40 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -975,7 +975,7 @@ sub _search_in_block0 {
         }
         # https://github.com/rafaelp/css_browser_selector is actually the
         # original source. (#874381)
-        elsif ($block =~ m/css browser selector/) {
+        elsif ($block =~ m/css_browser_selector\(/) {
             return;
         }
         # now search hidden minified

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: