We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1f8a18 commit 44eeb5aCopy full SHA for 44eeb5a
internal/runner/runner.go
@@ -125,6 +125,14 @@ func New(options *types.Options) (*Runner, error) {
125
}
126
127
128
+ // if template list or template display is enabled, enable all templates
129
+ if options.TemplateList || options.TemplateDisplay {
130
+ options.EnableCodeTemplates = true
131
+ options.EnableFileTemplates = true
132
+ options.EnableSelfContainedTemplates = true
133
+ options.EnableGlobalMatchersTemplates = true
134
+ }
135
+
136
// check for custom template updates and update if available
137
ctm, err := customtemplates.NewCustomTemplatesManager(options)
138
if err != nil {
0 commit comments