Skip to content

Commit

Permalink
Add a fake peril object to a danger run for nullability
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Jan 25, 2018
1 parent 44507e9 commit 3060cb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/runner/Dangerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@ export function contextForDanger(dsl: DangerDSLType): DangerContext {
markdown,
results,
danger: dsl,
peril: {} as any,
}
}

0 comments on commit 3060cb6

Please sign in to comment.