Made changes as suggested by linter

This commit is contained in:
Krishna Kishore Shetty
2022-05-28 17:24:32 +00:00
parent 689117a459
commit 3366148dd3

View File

@@ -96,7 +96,7 @@ func (fs *FSWatcher) handleNextWalkerResult(dirCh chan string, walkErrCh chan er
return true return true
} }
if err := fs.i.Watch(dir); err != nil { if err := fs.i.Watch(dir); err != nil {
errCh <- fmt.Errorf("Can't create watcher: %v", err) errCh <- fmt.Errorf("can't create watcher: %v", err)
} }
} }
return false return false