mirror of
https://github.com/go-shiori/shiori.git
synced 2025-02-23 15:35:21 +08:00
Fix wrong messages on delete
This commit is contained in:
parent
6de94ccffb
commit
e9559e724c
1 changed files with 0 additions and 5 deletions
|
@ -37,11 +37,6 @@ var (
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(oldIndices) == 0 {
|
|
||||||
fmt.Println("No bookmarks deleted")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
fmt.Println("Bookmarks has been deleted")
|
fmt.Println("Bookmarks has been deleted")
|
||||||
for i, oldIndex := range oldIndices {
|
for i, oldIndex := range oldIndices {
|
||||||
newIndex := newIndices[i]
|
newIndex := newIndices[i]
|
||||||
|
|
Loading…
Reference in a new issue