neosync icon indicating copy to clipboard operation
neosync copied to clipboard

[NEOS-1327] Add check to JS validation that there is a return statement

Open nickzelei opened this issue 1 year ago • 0 comments

We should check the user's code to ensure they are returning something.

We could start by doing a string check on the last line they have defined to see if there is a return keyword present. It might be more complicated than that, not sure.

Add integration test for this.

From SyncLinear.com | NEOS-1327

nickzelei avatar Aug 14 '24 20:08 nickzelei