1
0
mirror of https://github.com/securego/gosec.git synced 2025-02-01 12:57:55 +02:00

fix fmt errors

This commit is contained in:
Grant Murphy 2018-03-09 15:36:31 +10:00
parent ff2b30ff5d
commit 7116c4d3a1

View File

@ -129,8 +129,8 @@ func (p *TestPackage) CreateContext(filename string) *gas.Context {
func (p *TestPackage) Close() {
if p.ondisk {
err := os.RemoveAll(p.Path)
if err != nil {
log.Fatal(err)
}
if err != nil {
log.Fatal(err)
}
}
}