Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Alexy Mantha <[email protected]>
  • Loading branch information
alexymantha committed Oct 3, 2023
1 parent 3c0e6d1 commit 2047f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/git/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ func (m *nativeGitClient) ChangedFiles(revision string, targetRevision string) (

out, err := m.runCmd("diff", "--name-only", fmt.Sprintf("%s..%s", revision, targetRevision))
if err != nil {
return nil, fmt.Errorf("failed to diff %s..%s: %w", err)
return nil, fmt.Errorf("failed to diff %s..%s: %w", revision, targetRevision, err)
}

if out == "" {
Expand Down

0 comments on commit 2047f9e

Please sign in to comment.