mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	Correct typos in Go comments
This commit is contained in:
		
				
					committed by
					
						
						Bjørn Erik Pedersen
					
				
			
			
				
	
			
			
			
						parent
						
							17e60b77e1
						
					
				
				
					commit
					36ce3a4a9d
				
			@@ -229,7 +229,7 @@ func TestFlags(t *testing.T) {
 | 
			
		||||
				if cmd.getCommand() == nil {
 | 
			
		||||
					continue
 | 
			
		||||
				}
 | 
			
		||||
				// We are only intereseted in the flag handling here.
 | 
			
		||||
				// We are only interested in the flag handling here.
 | 
			
		||||
				cmd.getCommand().RunE = noOpRunE
 | 
			
		||||
			}
 | 
			
		||||
			rootCmd := root.getCommand()
 | 
			
		||||
 
 | 
			
		||||
@@ -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 (
 | 
			
		||||
 
 | 
			
		||||
@@ -211,7 +211,7 @@ func TestServerBugs(t *testing.T) {
 | 
			
		||||
			c.Assert(r.err, qt.IsNil)
 | 
			
		||||
			c.Assert(r.homesContent[0], qt.Contains, "PostProcess: /foo.min.css")
 | 
			
		||||
		}},
 | 
			
		||||
		// Isue 9901
 | 
			
		||||
		// Issue 9901
 | 
			
		||||
		{"Multihost", `
 | 
			
		||||
defaultContentLanguage = 'en'
 | 
			
		||||
[languages]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user