Skip to content

Commit bbcc4e8

Browse files
authored
Merge pull request #79327 from compnerd/file-info
utils: use `Sytsem.IO.FileInfo` for file path parameters
2 parents a759ead + 0400d0e commit bbcc4e8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

utils/build.ps1

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,11 @@ PS> .\Build.ps1
109109
PS> .\Build.ps1 -WindowsSDKs x64 -ProductVersion 1.2.3 -Test foundation,xctest
110110
#>
111111
[CmdletBinding(PositionalBinding = $false)]
112-
param(
113-
[string] $SourceCache = "S:\SourceCache",
114-
[string] $BinaryCache = "S:\b",
115-
[string] $ImageRoot = "S:",
112+
param
113+
(
114+
[System.IO.FileInfo] $SourceCache = "S:\SourceCache",
115+
[System.IO.FileInfo] $BinaryCache = "S:\b",
116+
[System.IO.FileInfo] $ImageRoot = "S:",
116117
[ValidateSet("codeview", "dwarf")]
117118
[string] $CDebugFormat = "dwarf",
118119
[ValidateSet("codeview", "dwarf")]

0 commit comments

Comments
 (0)