node-regedit
node-regedit copied to clipboard
fix: #102 unsupported hive caused by fix e2e40d for #48
This issue was caused by the fix attempt in #48 which prevented the loop from finishing.
Using an index instead of pop allows to control array positioning even through drain event and allows undefined items in the array. Also prevents popping items from an array that could be reused in the caller.