Skip to content

Commit ab3d68b

Browse files
geffersonFerrazdaveshanley
authored andcommitted
fix test
1 parent 903f549 commit ab3d68b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

cmd/markdown_report.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func GetMarkdownReportCommand() *cobra.Command {
180180
if len(report) <= 0 && er != nil {
181181
return er[0]
182182
}
183-
return writeReportFile(err, reportFile, report)
183+
return writeReportFile(reportFile, report)
184184
}
185185

186186
} else {
@@ -232,7 +232,7 @@ func GetMarkdownReportCommand() *cobra.Command {
232232
return er[0]
233233
}
234234

235-
writeErr := writeReportFile(err, reportFile, report)
235+
writeErr := writeReportFile(reportFile, report)
236236

237237
return writeErr
238238

@@ -262,7 +262,7 @@ func GetMarkdownReportCommand() *cobra.Command {
262262
return errors.New("unable to process specifications")
263263
}
264264

265-
return writeReportFile(err, reportFile, report)
265+
return writeReportFile(reportFile, report)
266266
}
267267
}
268268
pterm.Error.Println("wrong number of arguments, expecting two (2)")

0 commit comments

Comments
 (0)