fix: last commit
This commit is contained in:
4
main.go
4
main.go
@@ -37,7 +37,7 @@ func main() {
|
|||||||
log.Fatal("Could not read the remeber file")
|
log.Fatal("Could not read the remeber file")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if strings.Contains(fmt.Sprintf("%s\n", path), string(data)) {
|
if strings.Contains(string(data), fmt.Sprintf("%s\n", path)) {
|
||||||
log.Fatal("This path is already remebered")
|
log.Fatal("This path is already remebered")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -72,7 +72,7 @@ func main() {
|
|||||||
log.Fatal("Could not read the remeber file")
|
log.Fatal("Could not read the remeber file")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !strings.Contains(fmt.Sprintf("%s\n", path), string(data)) {
|
if !strings.Contains(string(data), fmt.Sprintf("%s\n", path)) {
|
||||||
fmt.Printf("Forgotten*: %s\n", path)
|
fmt.Printf("Forgotten*: %s\n", path)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user