mirror of https://github.com/docker/compose.git
Removed unnecessary test
This commit is contained in:
parent
90acf5eddc
commit
a8d29dc3db
|
@ -131,9 +131,6 @@ func parseConfigs(configPaths []string) ([]types.ConfigFile, error) {
|
||||||
if f == "-" {
|
if f == "-" {
|
||||||
b, err = ioutil.ReadAll(os.Stdin)
|
b, err = ioutil.ReadAll(os.Stdin)
|
||||||
} else {
|
} else {
|
||||||
if _, err := os.Stat(f); err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
b, err = ioutil.ReadFile(f)
|
b, err = ioutil.ReadFile(f)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue