Skip to content

Fix regression with F5 to use . instead of & operator - #1652

Merged
Andy Jordan (andyleejordan) merged 2 commits into
masterfrom
andschwa/fix-f5-operator
Jan 3, 2022
Merged

Andy Jordan (andyleejordan) merged 2 commits into
masterfrom
andschwa/fix-f5-operator

Conversation

@andyleejordan

@andyleejordan Andy Jordan (andyleejordan) commented Dec 29, 2021 •

Copy link
Copy Markdown
Member

This also corrects the scope of the script's parameter variables to be Local instead of Command in the DebuggerAcceptsScriptArgs test, and Local instead of Auto for most of the rest of the tests (as they
were previous to the pipeline work). Excitingly, this even fixes the DebuggerSetsVariablesNoConversion test, although
DebuggerSetsVariablesWithConversion is still broken (for a different reason).

Fixes PowerShell/vscode-powershell#3715.

@andyleejordan

Copy link
Copy Markdown
Member Author

Spoke too soon: testing this interactively shows that it's not the entire solution.

This also corrects the scope of the script's parameter variables to be
`Local` instead of `Command` in the `DebuggerAcceptsScriptArgs` test,
and `Local` instead of `Auto` for most of the rest of the tests (as they
were previous to the pipeline work). Excitingly, this even fixes the
`DebuggerSetsVariablesNoConversion` test, although
`DebuggerSetsVariablesWithConversion` is still broken (for a different
reason).
@andyleejordan

Copy link
Copy Markdown
Member Author

Patrick Meinecke (@SeeminglyScience) Ok there we go!

@andyleejordan
Andy Jordan (andyleejordan) marked this pull request as ready for review December 29, 2021 01:57

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! two small changes

Comment thread src/PowerShellEditorServices/Services/DebugAdapter/DebugService.cs Outdated
Comment thread src/PowerShellEditorServices/Services/DebugAdapter/DebugService.cs Outdated
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

F5 on a saved script isn't dot sourcing

2 participants