You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
remove question
This commit is contained in:
@@ -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})
|
||||||
|
|||||||
Reference in New Issue
Block a user