mirror of
https://github.com/makew0rld/amfora.git
synced 2024-12-04 14:46:29 -05:00
🚨 Happy linter
This commit is contained in:
parent
8198aa09d0
commit
4514f8b8c0
@ -61,11 +61,12 @@ func Init() error {
|
|||||||
|
|
||||||
err = os.Remove(config.OldBkmkPath)
|
err = os.Remove(config.OldBkmkPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
//nolint:goerr113
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
"couldn't delete old bookmarks file (%s), you must delete it yourself to prevent duplicate bookmarks: %w",
|
"couldn't delete old bookmarks file (%s), you must delete it yourself to prevent duplicate bookmarks: %w",
|
||||||
config.OldBkmkPath,
|
config.OldBkmkPath,
|
||||||
err,
|
err,
|
||||||
) //nolint:goerr113,nolintlint
|
)
|
||||||
}
|
}
|
||||||
config.BkmkStore = nil
|
config.BkmkStore = nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user