mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
closed #159 - issue where theme listing would hang if a theme folder did
not contain theme.json Also refactored theme socket event a bit
This commit is contained in:
@@ -49,7 +49,7 @@ var utils = require('./../public/src/utils.js'),
|
||||
themeArr.push(conf);
|
||||
next();
|
||||
});
|
||||
}
|
||||
} else next();
|
||||
});
|
||||
} else next();
|
||||
});
|
||||
@@ -57,9 +57,6 @@ var utils = require('./../public/src/utils.js'),
|
||||
callback(err, themeArr);
|
||||
});
|
||||
});
|
||||
},
|
||||
saveViaGithub: function(repo_url, callback) {
|
||||
// ...
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user