Skip to content

Commit

Permalink
Merge pull request #1123 from danger/local_commit_url
Browse files Browse the repository at this point in the history
Add url to Danger local commits
  • Loading branch information
orta committed Mar 17, 2021
2 parents 3d60104 + 288f2cd commit 13c251a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/platforms/git/localGetCommits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const localGetCommits = (base: string, head: string) =>
const realCommits = parsedCommits.map((c: any) => ({
...c,
parents: c.parents.split(" "),
url: "fake.danger.systems/" + c.sha,
}))

commits.push(...realCommits)
Expand Down

0 comments on commit 13c251a

Please sign in to comment.