mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-06-07 01:48:50 +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.
|
// Destroy the pipeline environment.
|
||||||
func (e *local) Destroy(context.Context, *types.Config) error {
|
func (e *local) Destroy(context.Context, *types.Config) error {
|
||||||
_ = os.RemoveAll(e.cmd.Dir)
|
return os.RemoveAll(e.cmd.Dir)
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue