mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
fixed #85
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user