Skip to content

Commit

Permalink
Merge pull request #924 from osmestad/fix-bitbucket-server-binary-files
Browse files Browse the repository at this point in the history
Fix Bitbucket Server binary files
  • Loading branch information
orta authored Sep 27, 2019
2 parents 3539112 + 5194b63 commit caf593c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@

<!-- Your comment below this -->

<!-- Your comment above this -->
- Fix binary files for BitBucket Server - [@osmestad]
<!-- Your comment above this -->

# 9.2.1

Expand Down
2 changes: 1 addition & 1 deletion source/platforms/git/gitJSONToGitDSL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export const gitJSONToGitDSL = (gitJSONRep: GitJSONDSL, config: GitJSONToGitDSLC
fileDiffs = parseDiff(diff)
}
const structuredDiff = fileDiffs.find(diff => diff.from === filename || diff.to === filename)
if (structuredDiff !== undefined) {
if (structuredDiff !== undefined && structuredDiff.chunks !== undefined) {
return { chunks: structuredDiff.chunks }
} else {
return null
Expand Down

0 comments on commit caf593c

Please sign in to comment.