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