diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2023-02-18 22:47:35 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-03-02 16:32:32 +0100 |
commit | 36ce3a4a9d3933772085991c8636915ffd5cb3af (patch) | |
tree | e7eaf3e0ea689b227fe012eab7c0f16205d6cd8c /commands/server.go | |
parent | 17e60b77e15664ba37f5c0b911cf70c36d496d80 (diff) |
Correct typos in Go comments
Diffstat (limited to 'commands/server.go')
-rw-r--r-- | commands/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/server.go b/commands/server.go index 4f7d4db8f..121a649d4 100644 --- a/commands/server.go +++ b/commands/server.go @@ -505,7 +505,7 @@ func removeErrorPrefixFromLog(content string) string { } var logReplacer = strings.NewReplacer( - "can't", "can’t", // Chroma lexer does'nt do well with "can't" + "can't", "can’t", // Chroma lexer doesn't do well with "can't" "*hugolib.pageState", "page.Page", // Page is the public interface. "Rebuild failed:", "", ) @@ -547,7 +547,7 @@ func (c *commandeer) serve(s *serverCmd) error { roots = []string{""} } - // Cache it here. The HugoSites object may be unavaialble later on due to intermitent configuration errors. + // Cache it here. The HugoSites object may be unavailable later on due to intermittent configuration errors. // To allow the en user to change the error template while the server is running, we use // the freshest template we can provide. var ( |