eliranmal/git-flux

'problems parsing json' on pull-request creation

Closed this issue · 0 comments

when double quotes appear in the commit message, the review task fails with this error:

creating pull-request from 'feature/stuff' to 'team/stars'...
    ✘ create failed: 'Problems parsing JSON'

to solve it, we should escape the message before putting it in the json data before sending the PR request internally.