You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JavaScript snippet below will trigger an Error parsing source code at ... error:
Code
true ? function(){returntrue} : function(){};
Error
Error Error parsing source code at 1:30 in /tmp/marzano-cli-d8845386-5e0c-4c15-b11f-6edccb7573ff/grit/example-1.js. This may cause otherwise applicable queries to not match.
If I add a semicolon after return true, the error disappears:
The JavaScript snippet below will trigger an
Error parsing source code at ...
error:Code
Error
If I add a semicolon after
return true
, the error disappears:Reproduction
https://app.grit.io/studio?key=kBqInNBs5q0ZOx82gjWez
The text was updated successfully, but these errors were encountered: