Skip to content

Commit d156fd3

Browse files
Update bito-cra.ps1 - ask for param = false check added
1 parent b606d6f commit d156fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cra-scripts/bito-cra.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ foreach ($param in $required_params) {
528528
foreach ($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
}

0 commit comments

Comments
 (0)