Merge pull request #28578 from allencloud/remove-redudant-file-Close
remove redundant file Close
This commit is contained in:
commit
c41ff780d8
1 changed files with 0 additions and 1 deletions
|
@ -84,7 +84,6 @@ func InstallDefault(name string) error {
|
|||
defer os.Remove(profilePath)
|
||||
|
||||
if err := p.generateDefault(f); err != nil {
|
||||
f.Close()
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue