From 4d591b18ed3bca1bbc413e55856df9aa68345892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8C=C3=A1bera?= Date: Thu, 4 Jul 2019 21:21:40 +0200 Subject: [PATCH] No need for [bool] cast --- Entrypoint.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Entrypoint.ps1 b/Entrypoint.ps1 index d695783..9b09f13 100644 --- a/Entrypoint.ps1 +++ b/Entrypoint.ps1 @@ -359,7 +359,7 @@ function Initialize-Scheduled { 'Push' = $true } if ($env:SPECIAL_SNOWFLAKES) { $params.Add('SpecialSnowflakes', ($env:SPECIAL_SNOWFLAKES -split ',')) } - if ($env:SKIP_UPDATED) { $params.Add('SkipUpdated', ([bool] $env:SKIP_UPDATED)) } + if ($env:SKIP_UPDATED) { $params.Add('SkipUpdated', $true) } & "$env:SCOOP_HOME\bin\auto-pr.ps1" @params # TODO: Post some comment??