Skip to content

Commit

Permalink
Add url to Danger local commits
Browse files Browse the repository at this point in the history
  • Loading branch information
f-meloni committed Mar 6, 2021
1 parent b87084f commit 288f2cd
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 288f2cd

Please sign in to comment.