1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/packages/node_modules/@node-red
Nick O'Leary 81dc3de26a
Ensure errors in ACE NRJavaScript mode are on valid lines
In the case of an "Unmatched {" error, it flags the { on
the line we wrap the user's code in. That doesn't help the
user.

This fix moves such an error to the first valid { in the file.

It handles ignoring { in comments or strings. It fails to ignore
{ inside regex. But that's an edge case on top of an edge case.
2020-09-24 16:29:05 +01:00
..
editor-api Merge branch 'master' into dev 2020-09-16 11:54:34 +01:00
editor-client Ensure errors in ACE NRJavaScript mode are on valid lines 2020-09-24 16:29:05 +01:00
nodes Update to MQTT 4.2.1 2020-09-16 16:56:39 +01:00
registry Merge pull request #2684 from node-red/skip-html 2020-09-03 15:02:09 +01:00
runtime Default flowFilePretty to true if projects enabled 2020-09-23 10:57:58 +01:00
util Merge branch 'master' into dev 2020-09-16 11:54:34 +01:00