Skip to content

Commit

Permalink
highlighter id check
Browse files Browse the repository at this point in the history
  • Loading branch information
danielferro69 committed Nov 16, 2023
1 parent d0e720d commit 1a28fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/highlighter.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default Service.extend({
},

_hasCallOnStack(procedureBlock) {
return this._procedureCalls().some(b => getProcedureBlock(b).id === procedureBlock.id)
return this._procedureCalls().some(b => getProcedureBlock(b)?.id === procedureBlock?.id)
},

_workspace() {
Expand Down

0 comments on commit 1a28fc0

Please sign in to comment.