add missing call to file.Close()

This commit is contained in:
Daanikus 2019-10-31 15:25:15 +13:00
parent 850de854cd
commit 80fdcd65de

View File

@ -137,6 +137,7 @@ func GfmrunActionFunc(c *cli.Context) error {
if err != nil {
return err
}
defer file.Close()
var counter int
scanner := bufio.NewScanner(file)