Skip to content

Commit 23cc429

Browse files
committed
Fix lint
1 parent e5116de commit 23cc429

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/engine/runtime.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3078,7 +3078,7 @@ class Runtime extends EventEmitter {
30783078
* @param {string} value Value to show associated with the block.
30793079
*/
30803080
visualReport (target, blockId, value) {
3081-
if (target == this.getEditingTarget()) {
3081+
if (target === this.getEditingTarget()) {
30823082
this.emit(Runtime.VISUAL_REPORT, {id: blockId, value: String(value)});
30833083
}
30843084
}

test/integration/tw_slow_custom_reporter_stack_click.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test('when thread target is editing target', t => {
2424
t.same(visualReports, []);
2525

2626
vm.runtime._step();
27-
t.same(visualReports, [])
27+
t.same(visualReports, []);
2828

2929
vm.runtime._step();
3030
t.same(visualReports, [
@@ -54,7 +54,7 @@ test('when thread target is not editing target', t => {
5454
t.same(visualReports, []);
5555

5656
vm.runtime._step();
57-
t.same(visualReports, [])
57+
t.same(visualReports, []);
5858

5959
vm.setEditingTarget(vm.runtime.getSpriteTargetByName('Sprite2').id);
6060

0 commit comments

Comments
 (0)