Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing if/else branch

  • Loading branch information...
commit b2834c656c2b20f060a426cc1d3d3e0b7815fc24 1 parent 31218df
@sgithens authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 node_modules/gsettingsBridge/gsettings_bridge.js
View
6 node_modules/gsettingsBridge/gsettings_bridge.js
@@ -37,8 +37,10 @@ https://github.com/gpii/universal/LICENSE.txt
settings[schemaId][key] = nodeGSettings.get_gsetting(schemaId,key);
}
}
- for (var settingKey in settings[schemaId]) {
- settings[schemaId][settingKey] = nodeGSettings.get_gsetting(schemaId,settingKey);
+ else {
+ for (var settingKey in settings[schemaId]) {
+ settings[schemaId][settingKey] = nodeGSettings.get_gsetting(schemaId,settingKey);
+ }
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.