mirror of https://github.com/nyancrimew/goop.git
Ignore errors while parsing index
This commit is contained in:
parent
3558bd48bc
commit
92cd9f6bf5
|
@ -281,7 +281,8 @@ func FetchGit(baseUrl, baseDir string) error {
|
|||
var idx index.Index
|
||||
decoder := index.NewDecoder(f)
|
||||
if err := decoder.Decode(&idx); err != nil {
|
||||
return err
|
||||
fmt.Fprintf(os.Stderr, "error: %s\n", err)
|
||||
//return err
|
||||
}
|
||||
for _, entry := range idx.Entries {
|
||||
objs[entry.Hash.String()] = true
|
||||
|
|
Loading…
Reference in New Issue