This commit is contained in:
Philippe Caseiro 2022-06-29 16:30:40 +02:00
parent 919b69ce4c
commit bb82f70c5a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ func (hr *APKRepository) urlIsPresent() (bool, error) {
// read the whole file at once // read the whole file at once
b, err := ioutil.ReadFile(APKConfigFile) b, err := ioutil.ReadFile(APKConfigFile)
if err != nil { if err != nil {
return err return false, err
} }
s := string(b) s := string(b)
// //check whether s contains substring text // //check whether s contains substring text