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

Use-Git should only validate the current pipeline step #312

Closed
StartAutomating opened this issue Oct 12, 2024 · 0 comments
Closed

Use-Git should only validate the current pipeline step #312

StartAutomating opened this issue Oct 12, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@StartAutomating
Copy link
Owner

When Use-Git is attempting to determine dynamic parameters, it sometimes needs to determine the current statement without the AST.

This can lead to a caught error, "an empty pipe is not allowed".

These coercion errors should be sidestepped in a few ways:

  1. Removing a trailing pipe operator from the command resolution
  2. Putting and validation scriptblock creation errors from this point into -Debug
  3. Removing them from $error when encountered
@StartAutomating StartAutomating added the enhancement New feature or request label Oct 12, 2024
@StartAutomating StartAutomating self-assigned this Oct 12, 2024
StartAutomating pushed a commit that referenced this issue Oct 12, 2024
Improving inner error handling (removing error a little later)
StartAutomating pushed a commit that referenced this issue Oct 12, 2024
Improving inner error handling (removing error a little later, and a little safer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant