As reported by @voseone here, other platforms may prefix or suffix the name with something extra. This throws off portMatch which expects that the name start with the given sequence.
It might just be a matter of relaxing the matchers to not require the port name "starts with", rather will match any part of the name. This is probably okay, as false positives aren't really a problem as this is more just to help the user and cut down on noise.
As reported by @voseone here, other platforms may prefix or suffix the name with something extra. This throws off
portMatch
which expects that the name start with the given sequence.It might just be a matter of relaxing the matchers to not require the port name "starts with", rather will match any part of the name. This is probably okay, as false positives aren't really a problem as this is more just to help the user and cut down on noise.