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

[lintian] 01/01: c/cruft.pm: Fix a typo



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

nthykier pushed a commit to branch master
in repository lintian.

commit 8a9e71abcdbb5969317e06cde381ccc82903c5db
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jul 5 21:28:58 2014 +0200

    c/cruft.pm: Fix a typo
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/cruft.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index 131e52a..bc1e28d 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -778,7 +778,7 @@ sub full_text_check {
     # some js file comments are really really long
     my $sfd
       = Lintian::SlidingWindow->new($fd, \&lc_block,
-        _is_javasript_but_not_minified($name) ? 8092 : 4096);
+        _is_javascript_but_not_minified($name) ? 8092 : 4096);
     my %licenseproblemhash;
 
     # we try to read this file in block and use a sliding window
@@ -821,7 +821,7 @@ sub full_text_check {
 }
 
 # check if file is javascript but not minified
-sub _is_javasript_but_not_minified {
+sub _is_javascript_but_not_minified {
     my ($name) = @_;
     my $isjsfile = ($name =~ m/\.js$/) ? 1 : 0;
     if($isjsfile) {
@@ -835,7 +835,7 @@ sub _is_javasript_but_not_minified {
 sub _search_in_block0 {
     my ($entry, $info, $name, $basename, $dirname, $path, $block) = @_;
 
-    if(_is_javasript_but_not_minified($name)) {
+    if(_is_javascript_but_not_minified($name)) {
         # exception sphinx documentation
         if($basename eq 'searchindex.js') {
             if($block =~ m/\A\s*search\.setindex\s* \s* \(\s*\{/xms) {

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


Reply to: