Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Dec 27, 2024
1 parent 6bd9a9e commit ed498b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controllers/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ func GenerateTerraformFromCode(payload *github.IssueCommentEvent, commentReporte
if projectName == "" {
commentReporterManager.UpdateComment(fmt.Sprintf(":x: generate requires argument -p <project_name>"))
log.Printf("missing project in command: %v", *payload.Comment.Body)
return fmt.Errorf("generate requires argument -p <project_name>: %v")
return fmt.Errorf("generate requires argument -p <project_name>")
}

project := config.GetProject(projectName)
Expand Down

0 comments on commit ed498b3

Please sign in to comment.