From 7e4b9684d531ee5b399b00fde0f8b1eb53b3d6a4 Mon Sep 17 00:00:00 2001 From: Hinton Date: Thu, 14 Sep 2023 14:25:59 +0200 Subject: [PATCH] Use switch instead of boolean for better experience --- dev/setup_secrets.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/setup_secrets.ps1 b/dev/setup_secrets.ps1 index e9903bf4dc25..5c807ee86bec 100644 --- a/dev/setup_secrets.ps1 +++ b/dev/setup_secrets.ps1 @@ -1,7 +1,7 @@ #!/usr/bin/env pwsh # Helper script for applying the same user secrets to each project param ( - [bool]$clear, + [switch]$clear, [Parameter(ValueFromRemainingArguments = $true, Position=1)] $cmdArgs )