Skip to content

Commit

Permalink
fix(commit): wrong hash commit in log
Browse files Browse the repository at this point in the history
  • Loading branch information
hungdh9x authored and fallion committed Mar 30, 2023
1 parent b782e7e commit a43e7f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commitpipeline/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (pipeline *Pipeline) Run() (*dispatcher.PipelineSuccess, error) {

parsedCommit := quoad.ParseCommitMessage(commitObject.Message)

log.Debugf("Commit found: [hash] %v [message] %v", parsedCommit.Hash.String(), parsedCommit.Heading)
log.Debugf("Commit found: [hash] %v [message] %v", commitObject.Hash, parsedCommit.Heading)

if !text.IsMergeCommit(commitObject.Message) && !text.IsInitialCommit(commitObject.Message) && !text.IsRevertCommit(commitObject.Message) {
filteredCommits = append(filteredCommits, commitHash)
Expand Down

1 comment on commit a43e7f5

@vercel
Copy link

@vercel vercel bot commented on a43e7f5 Mar 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.