Try 07
This commit is contained in:
parent
919b69ce4c
commit
bb82f70c5a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue