Skip to content

Fix slop remains#4640

Merged
ChrisTitusTech merged 2 commits into
ChrisTitusTech:mainfrom
CodingWonders:fix-slop
Jun 8, 2026
Merged

Fix slop remains#4640
ChrisTitusTech merged 2 commits into
ChrisTitusTech:mainfrom
CodingWonders:fix-slop

Conversation

@CodingWonders

Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix

Description

Chris likes to vibe code. AI likes to use different types of dashes (em-dashes, en-dashes), instead of regular dashes (-).

On PowerShell 7 this appears to work. The parser doesn't care. But, what about PowerShell 5? It begins throwing errors about the ampersand. Loading it in the ISE reveals how it stops parsing the syntax correctly when it encounters em-dashes. Rather than displaying them as such, the ISE displays them as —.

image

Chris, if you want to vibe code, I don't mind. But at least use regular dashes.

Anyway, I won't fix the AI code. I just want to make it work on my beloved powershell 5.

Issue related to PR

  • Resolves potential launch issues on PWSH 5

Chris likes to vibe code. AI likes to use different types of dashes (em-dashes, en-dashes), instead of regular dashes (-).

On PowerShell 7 this appears to work. The parser doesn't care. But, what about PowerShell 5? It begins throwing errors about the ampersand. Loading it in the ISE reveals how it stops parsing the syntax correctly when it encounters em-dashes. Rather than displaying them as such, the ISE displays them as —.

Chris, if you want to vibe code, I don't mind. But at least use regular dashes.

Anyway, I won't fix the AI code. I just want to make it work on my beloved powershell 5.
@github-actions github-actions Bot added the bug Something isn't working label Jun 5, 2026
@ChrisTitusTech ChrisTitusTech merged commit 297b307 into ChrisTitusTech:main Jun 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants