You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that the code is assuming the fields are always shown in the same order. This function would need to be rewritten in a more generic form.
Expected behavior
I have tested on windows 11 to get the current wifi connections but wrong data returns probably indexing the rows from exec results
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22000 N/A Build 22000
I tried to check directly via command line
Current behavior
With
getCurrentConnections
method this is what I getAs you can see from
ssid
tomode
there are wrong data compared to the directly get from command line interface.Which are the affected features
Which is your operating system?
Windows
Environment
electron
Version of node-wifi
2.0.16
Steps to Reproduce
Install node-wifi v2.0.16
npm i [email protected]
Import node-wifi to project
Solutions
It should be fixed by indexing the correct data from exec results, like at the expected behavior
The text was updated successfully, but these errors were encountered: