mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
fix config option warning (#542)
This commit is contained in:
@@ -187,7 +187,7 @@ let configOptions = {
|
||||
let optionsOkay = true;
|
||||
function overrideConfigRecursive(userOverrides, configOptions = {}) {
|
||||
for (const [key, value] of Object.entries(userOverrides)) {
|
||||
if (!configOptions[key]) optionsOkay = false;
|
||||
if (configOptions[key] === undefined) optionsOkay = false;
|
||||
else if (typeof value === 'object') {
|
||||
overrideConfigRecursive(value, configOptions[key]);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user