aboutsummaryrefslogtreecommitdiffhomepage
path: root/watcher
diff options
context:
space:
mode:
authorChristian Oliff <[email protected]>2024-02-11 20:51:33 +0900
committerGitHub <[email protected]>2024-02-11 13:51:33 +0200
commit0672b5c76605132475ff18b8c526f1cf0d6affc3 (patch)
tree2af2eb9d8eb1458ed6c39b58328c7d21d0c522d2 /watcher
parente309f82efe1885aa5b8030be48c36ba4432ddd7b (diff)
downloadhugo-0672b5c76605132475ff18b8c526f1cf0d6affc3.tar.gz
hugo-0672b5c76605132475ff18b8c526f1cf0d6affc3.zip
all: Fix typos
Diffstat (limited to 'watcher')
-rw-r--r--watcher/filenotify/poller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/watcher/filenotify/poller.go b/watcher/filenotify/poller.go
index cedb5d079..5bf07c8f1 100644
--- a/watcher/filenotify/poller.go
+++ b/watcher/filenotify/poller.go
@@ -201,7 +201,7 @@ func (r *recording) record(filename string) error {
r.FileInfo = fi
// If fi is a dir, we watch the files inside that directory (not recursively).
- // This matches the behaviour of fsnotity.
+ // This matches the behavior of fsnotity.
if fi.IsDir() {
f, err := os.Open(filename)
if err != nil {