mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove unneeded loadSettings validation
This commit is contained in:
@@ -174,14 +174,10 @@ var parseLoadSettings = function() {
|
||||
} catch (error) {
|
||||
loadSettingsError = error;
|
||||
}
|
||||
|
||||
if (!loadSettings || typeof loadSettings !== 'object') {
|
||||
loadSettings = {};
|
||||
}
|
||||
}
|
||||
|
||||
var setupWindowBackground = function() {
|
||||
if (loadSettings.isSpec) {
|
||||
if (loadSettings && loadSettings.isSpec) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user