Skip to content

ParserError when running on Windows #7

@jpsim

Description

@jpsim

Thanks for publishing such a useful project! I'm trying to SSH into a Windows actions runner using this project, but there appears to be a parser error:

ParserError: D:\a\_temp\d0f821d0-9ab8-4cb8-8d5e-c5eafef37d6a.ps1:54
Line |
  54 |      net user $env:UserName ***
     |                                                 ~
     | Missing closing ')' in expression.

Here's a permalink to the CI job where this is happening: https://github.com/jpsim/Yams/pull/282/checks?check_run_id=1348666021

I'll see if setting a Username env variable in my action fixes this and report back.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions