sfmc-devtools icon indicating copy to clipboard operation
sfmc-devtools copied to clipboard

[BUG] SQL formatter is adding spaces around hyphens

Open JoernBerkefeld opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

source: image

target: image

clearly, spaces were added during the buildTemplate or buildDefinition step

Expected Behavior

no spaces added

Steps To Reproduce

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

Version

4.0.2

Environment

  • OS:
  • Node:
  • npm:

Participation

  • [X] I am willing to submit a pull request for this issue.

Additional comments

No response

JoernBerkefeld avatar Oct 19 '22 07:10 JoernBerkefeld

unable to reproduce this locally. need to retest with lots of console.logs on copado server.

JoernBerkefeld avatar Oct 20 '22 02:10 JoernBerkefeld

tested on server - still unable to reproduce. assuming it must have been a now updated dependency that caused the error.

JoernBerkefeld avatar Oct 26 '22 13:10 JoernBerkefeld