mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Removed unnecessary test
This commit is contained in:
parent
90acf5eddc
commit
a8d29dc3db
1 changed files with 0 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue