[FR]: aspect init
should handle a SIGINT
signal (keyboard interrupt / CTRL +C
)
#721
Labels
aspect init
should handle a SIGINT
signal (keyboard interrupt / CTRL +C
)
#721
What is the current behavior?
Today if I run
aspect init
it clones https://github.com/aspect-build/aspect-workflows-template:aspect-cli/pkg/aspect/init/init.go
Line 76 in 39875c8
CTRL + C
) it does not gracefully handle this event.It exits with status code = 1, prints
Error: user aborted
and leaves the cloned github.com directory in the current dir.Describe the feature
When an user aborts the init operation, it should cleanup changes done to the current workdir and do not treat it as an error.
The text was updated successfully, but these errors were encountered: