1
0
Fork 0
mirror of https://github.com/n8n-io/n8n.git synced 2025-03-05 20:50:17 -08:00

fix(editor): Prevent Code node linter from erroring on null parse ()

https://linear.app/n8n/issue/PAY-717
This commit is contained in:
Iván Ovejero 2023-08-16 16:19:22 +02:00 committed by GitHub
parent d4fac0527b
commit 40d3a295d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,6 +66,8 @@ export const linterExtension = defineComponent({
}
}
if (ast === null) return [];
const lintings: Diagnostic[] = [];
/**