Skip to content

Commit 575eff2

Browse files
author
James Brundage
committed
feat: PipeScript.Languages/Interpreters.All ( Fixes #838 )
1 parent 62b105b commit 575eff2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Types/PipeScript.Languages/get_All.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
Gets all currently loaded language definitions in PipeScript.
66
#>
77
,@(foreach ($psProperty in $this.PSObject.properties) {
8-
if ($psProperty -isnot [psnoteproperty]) { continue }
9-
if ($psProperty.Value -isnot [PSObject]) { continue }
8+
if ($psProperty -isnot [psnoteproperty]) { continue }
109
if ($prop.IsInstance -and $prop.Value.LanguageName) {
1110
$psProperty.Value
1211
}

0 commit comments

Comments
 (0)