REFACTOR: removes unreachable statement (#9680)

This commit is contained in:
Joffrey JAFFEUX 2020-05-07 16:37:02 +02:00 committed by GitHub
parent 8be0ba3aa4
commit 23d585f255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,4 @@
(function() {
I18n.messageFormat = function(key, options) {
var fn = I18n._compiledMFs[key];
if (fn) {
@ -9,9 +8,7 @@
return err.message;
}
} else {
return 'Missing Key: ' + key;
return "Missing Key: " + key;
}
return I18n._compiledMFs[key](options);
};
})();