gohack
gohack copied to clipboard
cannot undo if directory has been removed
Running any gohack command runs the go command to find out information on the current modules, but this fails if the modules cannot be resolved (for example because a gohacked module has been removed)
We should be able to undo the gohack even when the target directory no longer exists.