[Ubuntu] Remove duplicated line with Python version from report (#8035)

This commit is contained in:
Vasilii Polikarpov
2023-08-04 12:29:31 +02:00
committed by GitHub
parent ff6a3d4b29
commit 38a9b4344f
2 changed files with 0 additions and 7 deletions

View File

@@ -99,12 +99,6 @@ function Get-PythonVersion {
return $version
}
function Get-Python3Version {
$result = Get-CommandResult "python3 --version"
$version = $result.Output | Take-OutputPart -Part 1
return $version
}
function Get-PowershellVersion {
return $(pwsh --version) | Take-OutputPart -Part 1
}

View File

@@ -54,7 +54,6 @@ $languageAndRuntime.AddToolVersion("MSBuild", $(Get-MsbuildVersion))
$languageAndRuntime.AddToolVersion("Node.js", $(Get-NodeVersion))
$languageAndRuntime.AddToolVersion("Perl", $(Get-PerlVersion))
$languageAndRuntime.AddToolVersion("Python", $(Get-PythonVersion))
$languageAndRuntime.AddToolVersion("Python3", $(Get-Python3Version))
$languageAndRuntime.AddToolVersion("Ruby", $(Get-RubyVersion))
$languageAndRuntime.AddToolVersion("Swift", $(Get-SwiftVersion))