We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaa37df commit 29ce1c3Copy full SHA for 29ce1c3
images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1
@@ -30,7 +30,7 @@ function Get-ClangToolVersions {
30
[Parameter(Mandatory = $true)]
31
[string] $ToolName,
32
[string] $VersionLineMatcher = "${ToolName} version",
33
- [string] $VersionPattern = "\d+\.\d+\.\d+)-"
+ [string] $VersionPattern = "\d+\.\d+\.\d+)"
34
)
35
36
$result = Get-CommandResult "apt list --installed" -Multiline
@@ -355,4 +355,4 @@ function Get-SystemdVersion {
355
$matches = [regex]::Matches((systemctl --version | head -n 1), "\((.*?)\)")
356
$result = foreach ($match in $matches) {$match.Groups[1].Value}
357
return $result
358
-}
+}
0 commit comments