mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
fixed #85
This commit is contained in:
1 parent
8efb90ebd5
commit
48e1068e3e
1 file changed
+4
-1
+4
-1
@@ -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