Merge pull request #28578 from allencloud/remove-redudant-file-Close

remove redundant file Close
This commit is contained in:
Doug Davis 2016-11-18 08:21:58 -05:00 committed by GitHub
commit c41ff780d8

View file

@ -84,7 +84,6 @@ func InstallDefault(name string) error {
defer os.Remove(profilePath)
if err := p.generateDefault(f); err != nil {
f.Close()
return err
}