fix ToString

This commit is contained in:
pblivingston 2025-11-25 21:29:45 -05:00
parent e5137b842b
commit 5fc5680c75

View File

@ -44,7 +44,7 @@ class IRemote {
}
[string] ToString() {
if ($this.index.HasValue) {
if ($null -ne $this.index) {
return $this.GetType().Name + $this.index
}
return $this.GetType().Name