Explicitly return nil.
This commit is contained in:
parent
9b9b09d35d
commit
6bb37c56be
|
@ -69,5 +69,5 @@ func New(filename string, callback func([]byte, error) error) (*Reloader, error)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
go loop()
|
go loop()
|
||||||
return &Reloader{stopChan}, err
|
return &Reloader{stopChan}, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue