-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously contained gosec overrides for G304 and G307, amend code so that the overrides can be safely removed without triggering gosec violations. Clean filepaths before calling os.Open and remove instances of deferring f.Close so that errors can be caught before return.
- Loading branch information
1 parent
c19359d
commit 30293d1
Showing
1 changed file
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters