Skip to content

Commit

Permalink
ignore error
Browse files Browse the repository at this point in the history
  • Loading branch information
xxf098 committed Feb 16, 2022
1 parent 485a4ca commit 93c6359
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/clash.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ type BaseProxy struct {
func ParseBaseProxy(profile string) (*BaseProxy, error) {
idx := strings.IndexByte(profile, byte('{'))
if idx < 0 {
return nil, fmt.Errorf("not found")
// multiple lines form
return nil, nil
}
p := profile[idx:]
bp := &BaseProxy{}
Expand Down

0 comments on commit 93c6359

Please sign in to comment.