mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
fixed #85
This commit is contained in:
parent
8efb90ebd5
commit
48e1068e3e
1 changed files with 4 additions and 1 deletions
|
@ -45,7 +45,10 @@ var Source, Destination, BaseUrl, CfgFile string
|
|||
func Execute() {
|
||||
AddCommands()
|
||||
Hugo := HugoCmd.ToCommander()
|
||||
Hugo.Execute()
|
||||
err := Hugo.Execute()
|
||||
if err != nil {
|
||||
os.Exit(-1)
|
||||
}
|
||||
}
|
||||
|
||||
func AddCommands() {
|
||||
|
|
Loading…
Reference in a new issue