Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powershell syntax highlighting shows backslashes as errors #6364

Closed
mcasperson opened this issue May 13, 2020 · 1 comment
Closed

Powershell syntax highlighting shows backslashes as errors #6364

mcasperson opened this issue May 13, 2020 · 1 comment
Assignees
Labels
kind/bug This issue represents a verified problem we are committed to solving
Milestone

Comments

@mcasperson
Copy link

Are you a customer of Octopus Deploy? Don't raise the issue here. Please contact our support team so we can triage your issue, making sure it's handled appropriately.

Prerequisites

  • [ * ] I have verified the problem exists in the latest version
  • [ * ] I have searched open and closed issues to make sure it isn't already reported
  • [ * ] I have written a descriptive issue title
  • [ ] I have linked the original source of this report
  • [ * ] I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)

The bug

Codemirror incorrectly highlights backslashes in Powershell scripts as errors, resulting in paths that have large red blocks.

What I expected to happen

Backslashes should not be highlighted in red.

Steps to reproduce

  1. Add a script step, select Powershell as the format, and add a command line cd c:\test
  2. Notice the backslash is highlighted in red

Screen capture

image

Affected versions

All versions to 2020.3.0

Workarounds

There are no workaround, but the issue is purely cosmetic and does not break any functionality.

@mcasperson mcasperson added the kind/bug This issue represents a verified problem we are committed to solving label May 13, 2020
@mcasperson mcasperson added this to the 2020.3.0 milestone May 13, 2020
@mcasperson mcasperson self-assigned this May 13, 2020
@octoreleasebot
Copy link

Release Note: Fixed Powershell script highlighting

@pawelpabich pawelpabich modified the milestones: 2020.3.1, 2020.3.0 Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

3 participants