Merge pull request #916 from Daanikus/close-file

Add missing call to Close()
This commit is contained in:
Ajitem Sahasrabuddhe
2019-11-09 12:17:18 +05:30
committed by GitHub

View File

@@ -146,6 +146,11 @@ func GfmrunActionFunc(c *cli.Context) error {
}
}
err = file.Close()
if err != nil {
return err
}
err = scanner.Err()
if err != nil {
return err