This is an automated email from the ASF dual-hosted git repository.

aw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git


The following commit(s) were added to refs/heads/main by this push:
     new f9562375 YETUS-1170. some plugins are missing delete_parameters calls 
(#266)
f9562375 is described below

commit f9562375ab66cc657d8c07a1e9d3ff4ea26f2c28
Author: Allen Wittenauer <[email protected]>
AuthorDate: Mon May 2 09:12:22 2022 -0700

    YETUS-1170. some plugins are missing delete_parameters calls (#266)
    
    Signed-off-by: Nick Dimiduk <[email protected]>
---
 precommit/src/main/shell/plugins.d/ansiblelint.sh | 1 +
 precommit/src/main/shell/plugins.d/checkmake.sh   | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/precommit/src/main/shell/plugins.d/ansiblelint.sh 
b/precommit/src/main/shell/plugins.d/ansiblelint.sh
index baf60620..03215b6f 100755
--- a/precommit/src/main/shell/plugins.d/ansiblelint.sh
+++ b/precommit/src/main/shell/plugins.d/ansiblelint.sh
@@ -35,6 +35,7 @@ function ansiblelint_parse_args
     case ${i} in
     --ansiblelint=*)
       ANSIBLELINT=${i#*=}
+      delete_parameter "${i}"
     ;;
     esac
   done
diff --git a/precommit/src/main/shell/plugins.d/checkmake.sh 
b/precommit/src/main/shell/plugins.d/checkmake.sh
index 3d7a21c0..4bd73138 100755
--- a/precommit/src/main/shell/plugins.d/checkmake.sh
+++ b/precommit/src/main/shell/plugins.d/checkmake.sh
@@ -36,9 +36,11 @@ function checkmake_parse_args
     case ${i} in
       --checkmake=*)
         CHECKMAKE=${i#*=}
+        delete_parameter "${i}"
       ;;
       --checkmake-config=*)
         CHECKMAKE_CONFIG=${i#*=}
+        delete_parameter "${i}"
       ;;
     esac
   done

Reply via email to