script-lab icon indicating copy to clipboard operation
script-lab copied to clipboard

comments at the beginning of the script file aren't properly formatted

Open lbianlbian opened this issue 2 years ago • 0 comments

Bug Report

  • Host: EXCEL
  • Environment: prod

Expected behavior:

Import a script and have it run.

Actual behavior:

The script is imported, but some line-breaks after the comments aren't recognized and the first few non-comment lines of the script file become comments.

Steps to Reproduce:

  1. Make a script lab project with // comments at the top, and then a function below.
  2. export it to github gists
  3. import the yaml file by copying the text of it (not the gist link)
  4. There should be an error.

Failure Logs:

Will be different depending on what lines are incorrectly turned into comments.

lbianlbian avatar Feb 22 '24 16:02 lbianlbian