summaryrefslogtreecommitdiffstats
path: root/helpers/pathspec.go
diff options
context:
space:
mode:
authorPhil Davis <phil@jankaritech.com>2020-12-16 16:56:32 +0545
committerGitHub <noreply@github.com>2020-12-16 12:11:32 +0100
commit04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch)
tree585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /helpers/pathspec.go
parent21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff)
all: Fix minor typos
Diffstat (limited to 'helpers/pathspec.go')
-rw-r--r--helpers/pathspec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/pathspec.go b/helpers/pathspec.go
index 5400249eb..49fd9a71c 100644
--- a/helpers/pathspec.go
+++ b/helpers/pathspec.go
@@ -37,7 +37,7 @@ type PathSpec struct {
Cfg config.Provider
}
-// NewPathSpec creats a new PathSpec from the given filesystems and language.
+// NewPathSpec creates a new PathSpec from the given filesystems and language.
func NewPathSpec(fs *hugofs.Fs, cfg config.Provider, logger loggers.Logger) (*PathSpec, error) {
return NewPathSpecWithBaseBaseFsProvided(fs, cfg, logger, nil)
}