Closed thepetk closed 1 year ago
Fixes several warnings from gosec security check:
filepath.Clean()
os.Open()
file.Close()
Unmarshal()
Fixes #222
Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.
[x] Unit/Functional tests
[x] Documentation
What does this PR do?
Fixes several warnings from gosec security check:
filepath.Clean()
func before using theos.Open()
func.file.Close()
funcs.Unmarshal()
func used without error handling, it adds the appropriate error handling.Which issue(s) does this PR fix
Fixes #222
PR acceptance criteria
Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.
[x] Unit/Functional tests
[x] Documentation
How to test changes / Special notes to the reviewer