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
Only REG_SZ, REG_EXPAND_SZ and REG_DWORD is supported.
If an unsupported value is enumerated, this produces an array in typescript that could end up looking like this:
[{ ... REG_DWORD value }, undefined, { ...REG_SZ value }]
The typings does not reflect that undefined is a possibility. Either the typings should change, or the array returned from the EnumerateValues function should not return empty values.
The text was updated successfully, but these errors were encountered:
https://github.com/desktop/registry-js/blob/master/src/main.cc#L109
This line allocates an array of fixed size, which is then populated with values on these lines:
https://github.com/desktop/registry-js/blob/master/src/main.cc#L133:L149
Only REG_SZ, REG_EXPAND_SZ and REG_DWORD is supported.
If an unsupported value is enumerated, this produces an array in typescript that could end up looking like this:
[{ ... REG_DWORD value }, undefined, { ...REG_SZ value }]
The typings does not reflect that undefined is a possibility. Either the typings should change, or the array returned from the EnumerateValues function should not return empty values.
The text was updated successfully, but these errors were encountered: