Skip to content

Commit 6d7ec14

Browse files
committed
fine tune messages emitted during the hunt for dotnet
1 parent 34835b8 commit 6d7ec14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,15 @@ function Get-DotnetExe
510510
# check the usual places
511511
if ( ! (test-path variable:IsWindows) -or $IsWindows ) {
512512
$dotnetHuntPath = "$HOME\AppData\Local\Microsoft\dotnet\dotnet.exe"
513-
Write-Verbose -Verbose "checking $dotnetHuntPath"
513+
Write-Verbose -Verbose "checking Windows $dotnetHuntPath"
514514
if ( test-path $dotnetHuntPath ) {
515515
$script:DotnetExe = $dotnetHuntPath
516516
return $dotnetHuntPath
517517
}
518518
}
519519
else {
520520
$dotnetHuntPath = "$HOME/.dotnet/dotnet"
521-
Write-Verbose -Verbose "checking $dotnetHuntPath"
521+
Write-Verbose -Verbose "checking non-Windows $dotnetHuntPath"
522522
if ( test-path $dotnetHuntPath ) {
523523
$script:DotnetExe = $dotnetHuntPath
524524
return $dotnetHuntPath

0 commit comments

Comments
 (0)