mirror of
https://github.com/Kyren223/eko.git
synced 2025-09-05 21:18:14 +00:00
Fixed bug of negation of prod flag
This commit is contained in:
@@ -34,7 +34,7 @@ var prod = true
|
||||
func main() {
|
||||
prodFlag := flag.Bool("prod", true, "true for production mode, false for dev mode")
|
||||
flag.Parse()
|
||||
prod = !(*prodFlag)
|
||||
prod = *prodFlag
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
Reference in New Issue
Block a user