mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 23:12:24 -05:00
Convert lint breakage
This commit is contained in:
parent
ceaa3c7857
commit
c750957465
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue