Skip to content

Commit e48f161

Browse files
committed
Rename check.RunChecks() to check.Runner()
The previous function name was redundant.
1 parent f850494 commit e48f161

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/check/check.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ import (
3030
"github.com/sirupsen/logrus"
3131
)
3232

33-
// RunChecks runs all checks for the given project and outputs the results.
34-
func RunChecks(project project.Type) {
33+
// Runner runs all checks for the given project and outputs the results.
34+
func Runner(project project.Type) {
3535
feedback.Printf("\nChecking %s in %s\n", project.ProjectType, project.Path)
3636

3737
projectdata.Initialize(project)

internal/command/command.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func ArduinoLint(rootCommand *cobra.Command, cliArguments []string) {
6666
}
6767

6868
for _, project := range projects {
69-
check.RunChecks(project)
69+
check.Runner(project)
7070

7171
// Checks are finished for this project, so summarize its check results in the report.
7272
result.Results.AddProjectSummary(project)

0 commit comments

Comments
 (0)