File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
.github/workflows/scripts/windows Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1- # WebRequestUtils.psm1
1+ # #===----------------------------------------------------------------------===##
2+ # #
3+ # # This source file is part of the Swift.org open source project
4+ # #
5+ # # Copyright (c) 2024 Apple Inc. and the Swift project authors
6+ # # Licensed under Apache License v2.0 with Runtime Library Exception
7+ # #
8+ # # See https://swift.org/LICENSE.txt for license information
9+ # # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+ # #
11+ # #===----------------------------------------------------------------------===##
12+
213# Shared utilities for web requests with retry logic
314
415<#
@@ -31,12 +42,9 @@ function Invoke-WebRequestWithRetry {
3142 param (
3243 [Parameter (Mandatory = $true )]
3344 [string ]$Uri ,
34-
3545 [Parameter (Mandatory = $true )]
3646 [string ]$OutFile ,
37-
3847 [int ]$MaxRetries = 10 ,
39-
4048 [int ]$BaseDelay = 1
4149 )
4250
You can’t perform that action at this time.
0 commit comments