Removed unnecessary test

This commit is contained in:
Guillaume Tardif 2020-06-17 14:13:28 +02:00
parent 90acf5eddc
commit a8d29dc3db
1 changed files with 0 additions and 3 deletions

View File

@ -131,9 +131,6 @@ func parseConfigs(configPaths []string) ([]types.ConfigFile, error) {
if f == "-" {
b, err = ioutil.ReadAll(os.Stdin)
} else {
if _, err := os.Stat(f); err != nil {
return nil, err
}
b, err = ioutil.ReadFile(f)
}
if err != nil {