This commit is contained in:
Philippe Caseiro 2022-06-29 16:26:06 +02:00
parent 42031c6c2e
commit 57756e997b
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func (hr *APKRepository) urlIsPresent() (bool, error) {
line := 1 line := 1
for scanner.Scan() { for scanner.Scan() {
fmt.Printf("DBG:%s:\n", hr.URL) fmt.Printf("DBG:%s:%s:\n", scanner.Text(), hr.URL)
if strings.Contains(scanner.Text(), hr.URL) { if strings.Contains(scanner.Text(), hr.URL) {
return true, nil return true, nil
} }