Skip to content

Commit

Permalink
Fix arduino-lint report cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Dec 12, 2024
1 parent faf2954 commit 83294b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/libraries/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ func RunArduinoLint(arduinoLintPath string, folder string, metadata *Repo) ([]by
if err != nil {
panic(err)
}
defer os.RemoveAll(JSONReportFolder)
JSONReportPath := filepath.Join(JSONReportFolder, "report.json")
defer os.RemoveAll(JSONReportPath)

// See: https://arduino.github.io/arduino-lint/latest/commands/arduino-lint/
cmd := exec.Command(
Expand Down

0 comments on commit 83294b3

Please sign in to comment.