Skip to content

Commit

Permalink
Update security_policy.go
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenwang9867 authored May 25, 2022
1 parent 0196433 commit e870c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/raw/security_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ var isSecurityPolicyFile fileparser.DoWhileTrueOnFilename = func(name string, ar
}
pdata, ok := args[0].(*securityPolicyFilesWithURI)
if !ok {
return false, fmt.Errorf("isSecurityPolicyFile expects arg of type: *securityPolicyFilesWithURI (struct {[]checker.File string}): %w", errInvalidArgType)
return false, fmt.Errorf("Invalid arg type: %w", errInvalidArgType)
}
if isSecurityPolicyFilename(name) {
tempPath := name
Expand Down

0 comments on commit e870c10

Please sign in to comment.