Compare commits
1 commit
renovate/c
...
master
Author | SHA1 | Date | |
---|---|---|---|
1449729882 |
1 changed files with 4 additions and 1 deletions
|
@ -94,10 +94,13 @@ func moveToError(conf *Config, filePath string, archiveErr error) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = os.Rename(filePath, filepath.Join(destFolder, baseName))
|
||||
err = writeErrorFile(conf, filePath, archiveErr)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = os.Rename(filePath, filepath.Join(destFolder, baseName))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue