Skip to content

Commit e2495f6

Browse files
Add scripts for scala (almond kernel) (#168)
* Add scripts for scala (almond kernel) * Perform inspection even when widgetQueryCommand is empty * Update handler.ts * Update inspectorscripts.ts * Update inspectorscripts.ts * Fix eslint errors Co-authored-by: lckr <15931380+lckr@users.noreply.github.com>
1 parent c917377 commit e2495f6

File tree

2 files changed

+281
-271
lines changed

2 files changed

+281
-271
lines changed

src/handler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ export class VariableInspectionHandler
291291
if (
292292
!(code === this._queryCommand) &&
293293
!(code === this._matrixQueryCommand) &&
294-
!code.startsWith(this._widgetQueryCommand)
294+
!code.startsWith(this._widgetQueryCommand) &&
295+
!(this._widgetQueryCommand.length > 0)
295296
) {
296297
this.performInspection();
297298
}

0 commit comments

Comments
 (0)