aboutsummaryrefslogtreecommitdiffhomepage
path: root/helpers
diff options
context:
space:
mode:
authorOleksandr Redko <[email protected]>2023-02-18 22:47:35 +0200
committerBjørn Erik Pedersen <[email protected]>2023-03-02 16:32:32 +0100
commit36ce3a4a9d3933772085991c8636915ffd5cb3af (patch)
treee7eaf3e0ea689b227fe012eab7c0f16205d6cd8c /helpers
parent17e60b77e15664ba37f5c0b911cf70c36d496d80 (diff)
downloadhugo-36ce3a4a9d3933772085991c8636915ffd5cb3af.tar.gz
hugo-36ce3a4a9d3933772085991c8636915ffd5cb3af.zip
Correct typos in Go comments
Diffstat (limited to 'helpers')
-rw-r--r--helpers/pathspec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/pathspec.go b/helpers/pathspec.go
index 49fd9a71c..28b5f71c3 100644
--- a/helpers/pathspec.go
+++ b/helpers/pathspec.go
@@ -42,7 +42,7 @@ func NewPathSpec(fs *hugofs.Fs, cfg config.Provider, logger loggers.Logger) (*Pa
return NewPathSpecWithBaseBaseFsProvided(fs, cfg, logger, nil)
}
-// NewPathSpecWithBaseBaseFsProvided creats a new PathSpec from the given filesystems and language.
+// NewPathSpecWithBaseBaseFsProvided creates a new PathSpec from the given filesystems and language.
// If an existing BaseFs is provided, parts of that is reused.
func NewPathSpecWithBaseBaseFsProvided(fs *hugofs.Fs, cfg config.Provider, logger loggers.Logger, baseBaseFs *filesystems.BaseFs) (*PathSpec, error) {
p, err := paths.New(fs, cfg)