Skip to content

Commit 94cc7e6

Browse files
committed
Remove superfluous runtime not optional warnings.
1 parent dfcd09f commit 94cc7e6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/engine/blocks.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -582,10 +582,6 @@ class Blocks {
582582
// Changing the value in a dropdown
583583
block.fields[args.name].value = args.value;
584584

585-
if (!this.runtime){
586-
log.warn('Runtime is not optional, it should get passed in when the block container is created.');
587-
break;
588-
}
589585
// The selected item in the sensing of block menu needs to change based on the
590586
// selected target. Set it to the first item in the menu list.
591587
// TODO: (#1787)
@@ -611,11 +607,6 @@ class Blocks {
611607
block.mutation = mutationAdapter(args.value);
612608
break;
613609
case 'checkbox': {
614-
if (!this.runtime) {
615-
log.warn('Runtime is not optional, it should get passed in when the block container is created.');
616-
break;
617-
}
618-
619610
// A checkbox usually has a one to one correspondence with the monitor
620611
// block but in the case of monitored reporters that have arguments,
621612
// map the old id to a new id, creating a new monitor block if necessary

0 commit comments

Comments
 (0)