linting
This commit is contained in:
@@ -24,6 +24,7 @@ type acceptanceTemplateData struct {
|
||||
}
|
||||
|
||||
func newTemplateRenderer(path string) (*templateRenderer, error) {
|
||||
//nolint:gosec // template file path is provided by trusted service configuration.
|
||||
data, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("read template: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user