fix related to spf13/hugo#1852 - build is going to fail
							parent
							
								
									c8c2d4e9b5
								
							
						
					
					
						commit
						6c0abf9fd6
					
				|  | @ -165,6 +165,7 @@ func ParseComponents(r *http.Request) []string { | |||
| 
 | ||||
| // Run is used to run the static website generator
 | ||||
| func Run(c *config.Config) { | ||||
| 	commands.MainSite = nil | ||||
| 	c.Args = append([]string{"--source", c.Path}, c.Args...) | ||||
| 	commands.HugoCmd.ParseFlags(c.Args) | ||||
| 	if err := commands.HugoCmd.RunE(nil, nil); err != nil { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Henrique Dias
						Henrique Dias