Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(portforward): properly use errors.As (#254)
`exec.ExitError` only implements the `error` interface if it is a pointer (`Error()` is a pointer reciever). So, in order to use `errors.As` we need to also set `exitError` to be `*exec.ExitError`. Fixes #252
- Loading branch information