Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tools/DevCheck/DevCheck.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,10 @@ function Test-VisualStudioComponent
try
{
$value = Run-Process $vswhere_exe $args -throwIfExitCodeIsFailure $true
$path = $path -replace [environment]::NewLine, ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this line removed? What was it doing before?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was doing nothing. $path wasn't used anywhere else in the function. It looks like it was a bit of copy/paste debris from earlier refactoring.

if ([string]::IsNullOrEmpty($value))
{
throw "Component"
}
Write-Verbose "Visual Studio component $($component) = $($value)"
return 0
}
Expand Down
Loading