mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-12-05 05:07:47 +00:00
fix ToString
This commit is contained in:
parent
e5137b842b
commit
5fc5680c75
@ -44,7 +44,7 @@ class IRemote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[string] ToString() {
|
[string] ToString() {
|
||||||
if ($this.index.HasValue) {
|
if ($null -ne $this.index) {
|
||||||
return $this.GetType().Name + $this.index
|
return $this.GetType().Name + $this.index
|
||||||
}
|
}
|
||||||
return $this.GetType().Name
|
return $this.GetType().Name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user