File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ foreach ($param in $required_params) {
528528foreach ($param in $optional_params ) {
529529 if ($param -eq " dependency_check.snyk_auth_token" -and $props [" dependency_check" ] -eq " True" ) {
530530 Ask- For- Param $param $false
531- } elseif ($param -ne " dependency_check.snyk_auth_token" -and $param -ne " env" -and $param -ne " cli_path" -and $param -ne " output_path" -and $param -ne " static_analysis_tool" -and $param -ne " git.domain" -and $param -ne " review_scope" -and $param -ne " exclude_branches" -and $param -ne " exclude_files" -and $param -ne " exclude_draft_pr" -and $param -ne " cr_event_type" -and $param -ne " posting_to_pr" ) {
531+ } elseif ($param -ne " dependency_check.snyk_auth_token" -and $param -ne " env" -and $param -ne " cli_path" -and $param -ne " output_path" -and $param -ne " static_analysis_tool" -and $param -ne " git.domain" -and $param -ne " review_scope" -and $param -ne " exclude_branches" -and $param -ne " exclude_files" -and $param -ne " exclude_draft_pr" -and $param -ne " cr_event_type" -and $param -ne " posting_to_pr" -and $param -ne " custom_rules.configured_ws_ids " -and $param -ne " custom_rules.aws_access_key_id " -and $param -ne " custom_rules.aws_secret_access_key " -and $param -ne " custom_rules.region_name " -and $param -ne " custom_rules.bucket_name " -and $param -ne " custom_rules.aes_key " ) {
532532 Ask- For- Param $param $false
533533 }
534534}
Original file line number Diff line number Diff line change 537537for param in " ${optional_params[@]} " ; do
538538 if [ " $param " == " dependency_check.snyk_auth_token" ] && [ " ${props["dependency_check"]} " == " True" ]; then
539539 ask_for_param " $param " " False"
540- elif [ " $param " != " dependency_check.snyk_auth_token" ] && [ " $param " != " env" ] && [ " $param " != " cli_path" ] && [ " $param " != " output_path" ] && [ " $param " != " static_analysis_tool" ] && [ " $param " != " git.domain" ] && [ " $param " != " review_scope" ] && [ " $param " != " exclude_branches" ] && [ " $param " != " nexus_url" ] && [ " $param " != " exclude_files" ] && [ " $param " != " exclude_draft_pr" ] && [ " $param " != " cr_event_type" ] && [ " $param " != " posting_to_pr" ]; then
540+ elif [ " $param " != " dependency_check.snyk_auth_token" ] && [ " $param " != " env" ] && [ " $param " != " cli_path" ] && [ " $param " != " output_path" ] && [ " $param " != " static_analysis_tool" ] && [ " $param " != " git.domain" ] && [ " $param " != " review_scope" ] && [ " $param " != " exclude_branches" ] && [ " $param " != " nexus_url" ] && [ " $param " != " exclude_files" ] && [ " $param " != " exclude_draft_pr" ] && [ " $param " != " cr_event_type" ] && [ " $param " != " posting_to_pr" ] && [ " $param " != " custom_rules.configured_ws_ids " ] && [ " $param " != " custom_rules.aws_access_key_id " ] && [ " $param " != " custom_rules.aws_secret_access_key " ] && [ " $param " != " custom_rules.region_name " ] && [ " $param " != " custom_rules.bucket_name " ] && [ " $param " != " custom_rules.aes_key " ] ; then
541541 ask_for_param " $param " " False"
542542 fi
543543done
You can’t perform that action at this time.
0 commit comments