mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
Do not ignore failure to clean up the context (#876)
This commit is contained in:
parent
ee97977b93
commit
16cf59163e
1 changed files with 1 additions and 2 deletions
|
@ -106,6 +106,5 @@ func (e *local) Tail(context.Context, *types.Step) (io.ReadCloser, error) {
|
|||
|
||||
// Destroy the pipeline environment.
|
||||
func (e *local) Destroy(context.Context, *types.Config) error {
|
||||
_ = os.RemoveAll(e.cmd.Dir)
|
||||
return nil
|
||||
return os.RemoveAll(e.cmd.Dir)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue