mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-24 01:01:45 +00: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() {
|
func Execute() {
|
||||||
AddCommands()
|
AddCommands()
|
||||||
Hugo := HugoCmd.ToCommander()
|
Hugo := HugoCmd.ToCommander()
|
||||||
Hugo.Execute()
|
err := Hugo.Execute()
|
||||||
|
if err != nil {
|
||||||
|
os.Exit(-1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func AddCommands() {
|
func AddCommands() {
|
||||||
|
|
Loading…
Reference in a new issue