1
0
mirror of https://github.com/securego/gosec.git synced 2025-07-05 00:29:02 +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

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