(description string)
| 85 | } |
| 86 | |
| 87 | func getPolicyDescription(description string) string { |
| 88 | if description == "" { |
| 89 | return defaultPolicyDescription |
| 90 | } |
| 91 | return description |
| 92 | } |
| 93 | |
| 94 | func loadAndProcessTemplates(opts *InitOptions) (*Content, error) { |
| 95 | regoContent, err := templateFS.ReadFile(policyTemplateRegoPath) |
no outgoing calls
no test coverage detected