main: IsNotExist() is no longer a valid check
This commit is contained in:
parent
c30c4decb7
commit
1a29f084a1
1 changed files with 1 additions and 5 deletions
|
|
@ -32,11 +32,7 @@ func main() {
|
|||
|
||||
config, err := LoadConfig(configFile)
|
||||
if err != nil {
|
||||
if os.IsNotExist(err) {
|
||||
config = &ComposerConfigFile{}
|
||||
} else {
|
||||
logrus.Fatalf("Error loading configuration: %v", err)
|
||||
}
|
||||
logrus.Fatalf("Error loading configuration: %v", err)
|
||||
}
|
||||
|
||||
logrus.SetOutput(os.Stdout)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue