remove question
parent
3c3c63b898
commit
fe83294b14
|
@ -2,7 +2,6 @@ package utils
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
@ -183,7 +182,6 @@ func Run(c *config.Config) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if create {
|
if create {
|
||||||
fmt.Print("Are you sure you want to generate a Hugo website on " + c.Path + "? (y/n)")
|
|
||||||
cmd := &cobra.Command{}
|
cmd := &cobra.Command{}
|
||||||
cmd.Flags().Bool("force", true, "")
|
cmd.Flags().Bool("force", true, "")
|
||||||
commands.NewSite(cmd, []string{c.Path})
|
commands.NewSite(cmd, []string{c.Path})
|
||||||
|
|
Loading…
Reference in New Issue