It looks like open() logs a registry key on failure
Pomax opened this issue · comments
When running the following code, the library seems to log the MSFS Windows registry key to the console:
import { open, Protocol } from "node-simconnect";
try {
await open("My app", Protocol.KittyHawk);
} catch (e) {
// ignore the error
}
Logs:
D:\temp>node test.js
{"HKCU\\Software\\Microsoft\\Microsoft Games\\Flight Simulator": "
D:\temp>
When MSFS isn't running, or loading in.
When MSFS is fully loaded, that console log does not occur.
Weird. Looks like bumping the regedit dependency solved it. Thanks for the issue!
Silly request, but could that update be published as v3.4.1? =D
(that way I can bump the api wrapper package, too)
Silly request, but could that update be published as v3.4.1? =D
(that way I can bump the api wrapper package, too)
New version published :)
❤️