From 52feea77448d3041cbbd703eccb3b148e00839f8 Mon Sep 17 00:00:00 2001 From: Julien Laffaye Date: Fri, 5 Mar 2021 10:58:28 -0500 Subject: [PATCH] Fix spelling error reported by goreportcard.com --- walker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/walker.go b/walker.go index e6a0f3f..5c1bd47 100644 --- a/walker.go +++ b/walker.go @@ -36,7 +36,7 @@ func (w *Walker) Next() bool { if w.descend && w.cur.entry.Type == EntryTypeFolder { entries, err := w.serverConn.List(w.cur.path) - // an error occured, drop out and stop walking + // an error occurred, drop out and stop walking if err != nil { w.cur.err = err return false