Skip to content

Commit f813cdf

Browse files
JustinGroteCopilot
andcommitted
Remove unnecessary missingdotmessage
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent e73494a commit f813cdf

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

PowerShellEditorServices.build.ps1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ Task FindDotNet {
5858

5959
[string[]]$dotnetInfo = dotnet --version 2>&1
6060
$missingDotnet = ($dotnetInfo -match '(Install the .+ \.NET SDK) or update')[0]
61-
if ($missingDotnet) {
62-
$missingDotnetMessage = $missingDotnet[0] -replace 'or update.+'
63-
}
6461
Assert (!$missingDotnet) ($missingDotnet -replace 'or update.+')
6562
Write-Build DarkGreen "Using dotnet v$($dotnetInfo) at path $((Get-Command dotnet).Source)"
6663
}

0 commit comments

Comments
 (0)