Close file'

This commit is contained in:
CallanTaylor 2019-11-19 11:48:45 +13:00
parent 108d39a38e
commit 7123798a43

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)