-
Notifications
You must be signed in to change notification settings - Fork 41
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
psscriptanalyzer hanging #840
Comments
Hi! Sorry that you're running into this. We are investigating a similar issue with trufflehog, but we don't yet have a fix. In the meantime, you should be able to |
⬆️ bump. Any knowledge on why this is failing? I'd like to have powershell scripts linted and formatted as part of the stack but need to ensure it's fast and not hanging. |
Sorry, it seems to be a different issue from trufflehog, which has to do with a batching bug. We will keep looking into this, but last I checked it is an issue with psscriptanalyzer spawning child processes and disconnecting from them, which is why we can't currently support it on Mac. It's a race condition related to their execution flow, but we don't have a clean way to wrap it on our end yet. |
Ok, this is useful to know. |
Not that I know of. Also, CLI version |
Opened this issue up as I notice that the manual invocation of formatter fails regardless of in trunk or not. Sounds related based on your mention. |
I'm on latest version of trunk
1.22.2
and plugins were just updatedv1.6.1
.I love that there is a
psscriptanalyzer
option, but this is the second time I've tried to use and both had timeouts.Never seems to return and just hangs.
config that seems relevant.
Any idea what might be causing this?
This also applied when I tried to run
trunk fmt
first, and it kept hanging.The text was updated successfully, but these errors were encountered: