mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 01:38:50 +02:00
v0.26.0
This commit is contained in:
@@ -20,7 +20,7 @@ func (e *watcherError) Error() string {
|
||||
}
|
||||
|
||||
func (w *Watcher) newWatcherError(err error) error {
|
||||
if errors.Is(err, causeReload) {
|
||||
if errors.Is(err, errCauseReload) {
|
||||
return nil
|
||||
}
|
||||
if wErr, ok := err.(*watcherError); ok { //nolint:errorlint
|
||||
@@ -44,7 +44,7 @@ func (e *depError) Error() string {
|
||||
}
|
||||
|
||||
func (w *Watcher) newDepError(action string, dep *dependency, err error) error {
|
||||
if errors.Is(err, causeReload) {
|
||||
if errors.Is(err, errCauseReload) {
|
||||
return nil
|
||||
}
|
||||
if dErr, ok := err.(*depError); ok { //nolint:errorlint
|
||||
|
||||
Reference in New Issue
Block a user