mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 03:57:32 +00:00
Improve table and tool versions comparison for new Software Report module (#6729)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# Abstract base class for all nodes
|
||||
class BaseNode {
|
||||
[Boolean] ShouldBeIncludedToDiff() {
|
||||
return $False
|
||||
return $false
|
||||
}
|
||||
|
||||
[Boolean] IsSimilarTo([BaseNode] $OtherNode) {
|
||||
@@ -26,7 +26,7 @@ class BaseToolNode: BaseNode {
|
||||
}
|
||||
|
||||
[Boolean] ShouldBeIncludedToDiff() {
|
||||
return $True
|
||||
return $true
|
||||
}
|
||||
|
||||
[String] GetValue() {
|
||||
@@ -35,7 +35,7 @@ class BaseToolNode: BaseNode {
|
||||
|
||||
[Boolean] IsSimilarTo([BaseNode] $OtherNode) {
|
||||
if ($this.GetType() -ne $OtherNode.GetType()) {
|
||||
return $False
|
||||
return $false
|
||||
}
|
||||
|
||||
return $this.ToolName -eq $OtherNode.ToolName
|
||||
|
||||
Reference in New Issue
Block a user