Convert lint breakage

This commit is contained in:
Erik Mejer Hansen 2019-01-24 13:21:46 +01:00
parent ceaa3c7857
commit c750957465

View file

@ -1161,9 +1161,8 @@ class Runtime extends EventEmitter {
}
const defaultValue =
typeof argInfo.defaultValue === 'undefined'
? ''
: escapeHtml(maybeFormatMessage(argInfo.defaultValue, this.makeMessageContextForTarget()).toString());
typeof argInfo.defaultValue === 'undefined' ? '' :
escapeHtml(maybeFormatMessage(argInfo.defaultValue, this.makeMessageContextForTarget()).toString());
if (argTypeInfo.check) {
argJSON.check = argTypeInfo.check;