Bug 1411532 followup - Fix eslint failures.

MozReview-Commit-ID: Ax1Fk8cG8Zx
This commit is contained in:
Xidorn Quan 2017-10-28 11:15:53 +11:00
parent e75f3eb70c
commit 74728d9c8f

View File

@ -83,18 +83,9 @@ var snapshotFormatters = {
function getReasonStringName(resultValue, defaultValue) {
if (resultValue != defaultValue) {
if (resultValue) {
return "enabledByUser";
} else {
return "disabledByUser";
}
} else {
if (resultValue) {
return "enabledByDefault";
} else {
return "disabledByDefault";
}
return resultValue ? "enabledByUser" : "disabledByUser";
}
return resultValue ? "enabledByDefault" : "disabledByDefault";
}
let styloReason;
let styloChromeReason;