mirror of
https://github.com/go-task/task.git
synced 2025-08-08 22:36:57 +02:00
@@ -95,6 +95,9 @@ func (c *Checksum) Value() (interface{}, error) {
|
||||
|
||||
// OnError implements the Checker interface
|
||||
func (c *Checksum) OnError() error {
|
||||
if len(c.Sources) == 0 {
|
||||
return nil
|
||||
}
|
||||
return os.Remove(c.checksumFilePath())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user