Fix variable used before being declared in UpdateUtils.jsm

master
Fedor 2019-05-20 09:02:42 +03:00
parent 2265a9f87a
commit bc55c7ba32
1 changed files with 1 additions and 1 deletions

View File

@ -31,9 +31,9 @@ this.UpdateUtils = {
* Whether or not to include the partner bits. Default: true.
*/
getUpdateChannel(aIncludePartners = true) {
let defaults = Services.prefs.getDefaultBranch(null);
let channel = defaults.getCharPref("app.update.channel",
AppConstants.MOZ_UPDATE_CHANNEL);
let defaults = Services.prefs.getDefaultBranch(null);
if (aIncludePartners) {
try {