mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
parent
5c9343c7c0
commit
946f7f38ba
|
@ -155,7 +155,7 @@ module.exports = {
|
|||
create(context) {
|
||||
return {
|
||||
CatchClause(node) {
|
||||
if (node.param?.name.startsWith('_')) {
|
||||
if (node.param?.name?.startsWith('_')) {
|
||||
const start = node.range[0] + 'catch '.length;
|
||||
const end = node.param.range[1] + '()'.length;
|
||||
|
||||
|
|
Loading…
Reference in a new issue