Skip to content

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

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

Merged
merged 2 commits into from
Jan 3, 2022

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Dec 29, 2021

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
Member Author

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

@andyleejordan andyleejordan force-pushed the andschwa/fix-f5-operator branch from eddd981 to b719512 Compare December 29, 2021 01:38
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 andyleejordan force-pushed the andschwa/fix-f5-operator branch from b719512 to d827121 Compare December 29, 2021 01:51
@andyleejordan
Copy link
Member Author

@SeeminglyScience Ok there we go!

@andyleejordan andyleejordan marked this pull request as ready for review December 29, 2021 01:57
Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM! two small changes

Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
@andyleejordan andyleejordan enabled auto-merge (squash) January 3, 2022 04:09
@andyleejordan andyleejordan disabled auto-merge January 3, 2022 04:09
@andyleejordan andyleejordan enabled auto-merge (squash) January 3, 2022 04:09
@andyleejordan andyleejordan merged commit 1cf808f into master Jan 3, 2022
@andyleejordan andyleejordan deleted the andschwa/fix-f5-operator branch January 3, 2022 04:19
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