Skip to content

Commit 6e1cdb2

Browse files
committed
Add licence header to web-request-utils.psm1
1 parent e64e7a8 commit 6e1cdb2

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/scripts/windows/web-request-utils.psm1

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
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

0 commit comments

Comments
 (0)