1
0
mirror of https://github.com/securego/gosec.git synced 2025-11-23 22:15:04 +02:00

Fix typos in comments, vars and tests

This commit is contained in:
Oleksandr Redko
2023-05-26 18:03:54 +03:00
committed by Cosmin Cojocar
parent e1484658ac
commit 1f689968ec
12 changed files with 19 additions and 19 deletions

View File

@@ -46,7 +46,7 @@ func runSSRF(pass *analysis.Pass) (interface{}, error) {
if callee != nil {
ssaResult.Logger.Printf("callee: %s\n", callee)
return newIssue(pass.Analyzer.Name,
"not implemeted",
"not implemented",
pass.Fset, instr.Call.Pos(), issue.Low, issue.High), nil
}
}

View File

@@ -28,7 +28,7 @@ import (
)
// SSAAnalyzerResult contains various information returned by the
// SSA analysis along with some configuraion
// SSA analysis along with some configuration
type SSAAnalyzerResult struct {
Config map[string]interface{}
Logger *log.Logger
@@ -42,7 +42,7 @@ func BuildDefaultAnalyzers() []*analysis.Analyzer {
}
}
// getSSAResult retrives the SSA result from analysis pass
// getSSAResult retrieves the SSA result from analysis pass
func getSSAResult(pass *analysis.Pass) (*SSAAnalyzerResult, error) {
result, ok := pass.ResultOf[buildssa.Analyzer]
if !ok {