Accenture / sfmc-devtools

Fast-track your developers and devops engineers by allowing them to programmatically copy-paste / deploy changes and work offline
https://www.npmjs.org/package/mcdev
MIT License
137 stars 36 forks source link

[BUG] dont recognize code as SSJS if the script tag has "language=ampscript" in it #1511

Closed JoernBerkefeld closed 3 months ago

JoernBerkefeld commented 3 months ago

Is there an existing issue for this?

Current Behavior

<script runat="server" language="ampscript"> or <script language="ampscript" runat="server"> or uppercase versions...

Expected Behavior

treat as html or ampscript and dont bother parsing.

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Run '...'
  4. See error...

Version

7.1.1

Environment

Participation

Additional comments

No response

github-actions[bot] commented 3 months ago

Closed by #1542.