Merge pull request #916 from Daanikus/close-file

Add missing call to Close()
main
Ajitem Sahasrabuddhe 5 years ago committed by GitHub
commit 05874240ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save