Skip to content

Commit e52df7c

Browse files
committed
Include actual heroku pipelines:connect command params in guidance message.
1 parent 77a641c commit e52df7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heroku/resource_heroku_review_app_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func resourceHerokuReviewAppConfigCreate(ctx context.Context, d *schema.Resource
230230
errorDetail = fmt.Sprintf("%s\n\nThis error typically occurs when the pipeline is not connected to a GitHub repository. "+
231231
"Review apps require the pipeline to be connected to GitHub before configuration can be enabled. "+
232232
"Please connect your pipeline to a GitHub repository using the Heroku Dashboard or CLI:\n"+
233-
" heroku pipelines:connect <pipeline-name> --repo <owner/repo>", errorDetail)
233+
" heroku pipelines:connect %s --repo %s", errorDetail, pipeline.Name, opts.Repo)
234234
}
235235

236236
diags = append(diags, diag.Diagnostic{

0 commit comments

Comments
 (0)