mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
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. |
||
---|---|---|
.. | ||
locales | ||
src | ||
templates | ||
.npmignore | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |