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

[heft] Fix an issue where 'heft clean' crashes. #4358

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

iclanton
Copy link
Member

Summary

Fixes #4351

Details

heft clean was directly constructing an AbortSignal object via new AbortSignal(), which isn't allowed. This change refactors the code used in HeftActionRunner to construct the AbortSignal to also be used by heft clean.

How it was tested

Tested in this repo and in the repro provided in #4351.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[heft] ERR_ILLEGAL_CONSTRUCTOR when running heft clean
3 participants