@@ -2666,8 +2666,7 @@ foreach ($prop in $this.psobject.properties) {
2666
2666
Gets all currently loaded language definitions in PipeScript.
2667
2667
#>
2668
2668
,@(foreach ($psProperty in $this.PSObject.properties) {
2669
- if ($psProperty -isnot [psnoteproperty]) { continue }
2670
- if ($psProperty.Value -isnot [PSObject]) { continue }
2669
+ if ($psProperty -isnot [psnoteproperty]) { continue }
2671
2670
if ($prop.IsInstance -and $prop.Value.LanguageName) {
2672
2671
$psProperty.Value
2673
2672
}
@@ -2681,8 +2680,7 @@ foreach ($prop in $this.psobject.properties) {
2681
2680
Gets all currently loaded language definitions in PipeScript.
2682
2681
#>
2683
2682
,@(foreach ($psProperty in $this.PSObject.properties) {
2684
- if ($psProperty -isnot [psnoteproperty]) { continue }
2685
- if ($psProperty.Value -isnot [PSObject]) { continue }
2683
+ if ($psProperty -isnot [psnoteproperty]) { continue }
2686
2684
if ($prop.IsInstance -and $prop.Value.LanguageName) {
2687
2685
$psProperty.Value
2688
2686
}
@@ -2854,8 +2852,7 @@ foreach ($prop in $this.psobject.properties) {
2854
2852
Gets all currently loaded language definitions in PipeScript.
2855
2853
#>
2856
2854
,@(foreach ($psProperty in $this.PSObject.properties) {
2857
- if ($psProperty -isnot [psnoteproperty]) { continue }
2858
- if ($psProperty.Value -isnot [PSObject]) { continue }
2855
+ if ($psProperty -isnot [psnoteproperty]) { continue }
2859
2856
if ($prop.IsInstance -and $prop.Value.LanguageName) {
2860
2857
$psProperty.Value
2861
2858
}
0 commit comments