Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Commit

Permalink
No need for [bool] cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash258 committed Jul 4, 2019
1 parent 6ccb6c3 commit 4d591b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Entrypoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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??
Expand Down

0 comments on commit 4d591b1

Please sign in to comment.