File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ foreach ($param in $required_params) {
528
528
foreach ($param in $optional_params ) {
529
529
if ($param -eq " dependency_check.snyk_auth_token" -and $props [" dependency_check" ] -eq " True" ) {
530
530
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 " ) {
532
532
Ask- For- Param $param $false
533
533
}
534
534
}
Original file line number Diff line number Diff line change 537
537
for param in " ${optional_params[@]} " ; do
538
538
if [ " $param " == " dependency_check.snyk_auth_token" ] && [ " ${props["dependency_check"]} " == " True" ]; then
539
539
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
541
541
ask_for_param " $param " " False"
542
542
fi
543
543
done
You can’t perform that action at this time.
0 commit comments