We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f0c983 commit e4dd00cCopy full SHA for e4dd00c
formatter/workflow.go
@@ -81,11 +81,6 @@ func (w *MainWorkflow) Execute() (err error) {
81
// Getting new instance of formatter based on provided config
82
formatter := New(w.Config)
83
84
- // This part usually should not happen
85
- if formatter == nil {
86
- return fmt.Errorf("no formatter is defined")
87
- }
88
-
89
// Trying to read template content (read a file, or get default in case where no option was used)
90
templateContent, err := TemplateContent(formatter, w.Config)
91
if err != nil {
0 commit comments