Compare commits
1 commit
master
...
renovate/c
Author | SHA1 | Date | |
---|---|---|---|
83b52f9e8e |
3 changed files with 5 additions and 7 deletions
|
@ -9,9 +9,7 @@ func NewErrorOnlyArchiver(conf *Config) func(string, error) {
|
||||||
return func(filePath string, archiveErr error) {
|
return func(filePath string, archiveErr error) {
|
||||||
if archiveErr != nil {
|
if archiveErr != nil {
|
||||||
err := writeErrorFile(conf, filePath, archiveErr)
|
err := writeErrorFile(conf, filePath, archiveErr)
|
||||||
if err != nil {
|
logger.Error(err)
|
||||||
logger.Error(err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,11 +94,8 @@ func moveToError(conf *Config, filePath string, archiveErr error) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = writeErrorFile(conf, filePath, archiveErr)
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
err = os.Rename(filePath, filepath.Join(destFolder, baseName))
|
err = os.Rename(filePath, filepath.Join(destFolder, baseName))
|
||||||
|
err = writeErrorFile(conf, filePath, archiveErr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
3
renovate.json
Normal file
3
renovate.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
Loading…
Reference in a new issue