mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02:00
removed un-used config flag
This commit is contained in:
parent
001e6c9f5f
commit
90baef95e7
@ -34,14 +34,13 @@ var (
|
||||
)
|
||||
|
||||
var (
|
||||
conf = flag.String("config", "drone.toml", "")
|
||||
debug = flag.Bool("debug", false, "")
|
||||
)
|
||||
|
||||
func main() {
|
||||
flag.Parse()
|
||||
|
||||
settings, err := config.Load(*conf)
|
||||
settings, err := config.Load("")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user