Skip to content

Commit

Permalink
edit message
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Sep 20, 2023
1 parent c982436 commit 5321a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (g *Git) setDefaultsIfNeeded(gitParamsFromEnv *Git, commandName string) (er

if commandName == ScanPullRequest {
if gitParamsFromEnv.PullRequestDetails.ID == 0 {
return fmt.Errorf("no pull request id provided. Please set via `JF_GIT_PULL_REQUEST_ID` environment variable")
return fmt.Errorf("no pull request ID was provided. Please configure it using the 'JF_GIT_PULL_REQUEST_ID' environment variable")
}
// When scan pull request is called, no need to continue and extract unrelated env params.
return
Expand Down

0 comments on commit 5321a80

Please sign in to comment.