Skip to content

Commit

Permalink
Merge pull request #1124 from danger/fix/bitbucket-cloud-type
Browse files Browse the repository at this point in the history
Fix type of BitBucketCloudPRDSL.created_on and updated_on
  • Loading branch information
orta committed Mar 17, 2021
2 parents b87084f + cbd935d commit 3d60104
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
## Main

<!-- Your comment below this -->
<!-- Your comment above this -->

- Bitbucket Cloud: Fix type of BitBucketCloudPRDSL.created_on and updated_on. - [@hellocore]
<!-- Your comment above this -->

# 10.6.4

Expand Down
8 changes: 4 additions & 4 deletions source/dsl/BitBucketCloudDSL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ export interface BitBucketCloudPRDSL {
description: string
/** The pull request's current status. */
state: "OPEN" | "MERGED" | "DECLINED" | "SUPERSEDED"
/** Date PR created as number of milliseconds since the unix epoch */
created_on: number
/** Date PR updated as number of milliseconds since the unix epoch */
updated_on: number
/** When the pr was created, in ISO 8601 format */
created_on: string
/** When the pr was updated, in ISO 8601 format */
updated_on: string
/** The PR's source, The repo Danger is running on */
source: BitBucketCloudMergeRef
/** The PR's destination */
Expand Down

0 comments on commit 3d60104

Please sign in to comment.