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 = const defaultValue =
typeof argInfo.defaultValue === 'undefined' typeof argInfo.defaultValue === 'undefined' ? '' :
? '' escapeHtml(maybeFormatMessage(argInfo.defaultValue, this.makeMessageContextForTarget()).toString());
: escapeHtml(maybeFormatMessage(argInfo.defaultValue, this.makeMessageContextForTarget()).toString());
if (argTypeInfo.check) { if (argTypeInfo.check) {
argJSON.check = argTypeInfo.check; argJSON.check = argTypeInfo.check;