fix: reverse array before popping to get the 1st element

This commit is contained in:
Derrick Hammer 2024-03-26 23:48:44 -04:00
parent a91b58924b
commit 17c3addeb2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export function optionsToConfig(
...acc,
...val,
};
}, options)).pop();
}, options)).reverse().pop();
const finalOptions = {
...def,