enable misspell linter

This commit is contained in:
Matthieu MOREL
2021-11-25 22:01:30 +11:00
committed by Mike Farah
parent 3e82171f18
commit 15d7c9e118
10 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ type loadPrefs struct {
}
func loadString(filename string) (*CandidateNode, error) {
// ignore CWE-22 gosec issue - that's more targetted for http based apps that run in a public directory,
// ignore CWE-22 gosec issue - that's more targeted for http based apps that run in a public directory,
// and ensuring that it's not possible to give a path to a file outside that directory.
filebytes, err := ioutil.ReadFile(filename) // #nosec