Skip to content

Commit

Permalink
wemove nyo configuration wawning
Browse files Browse the repository at this point in the history
  • Loading branch information
ShindouMihou committed Feb 2, 2023
1 parent 1d7fb2f commit ed51249
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions configs/init.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package configs

import (
"fmt"
"gopkg.in/yaml.v2"
"log"
"os"
Expand All @@ -12,7 +11,6 @@ var RunningConfiguration = DefaultConfiguration
func Init() {
bytes, err := os.ReadFile("config.yaml")
if err != nil {
fmt.Println("configuration not found, using default configuration.")
return
}
var configuration Config
Expand Down

0 comments on commit ed51249

Please sign in to comment.