Avoid duplicate error codes when opening WPT PR.

This commit is contained in:
Josh Matthews 2018-02-11 22:09:48 -05:00 committed by GitHub
parent 97b218d098
commit c51505718b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ EOF
curl -H "Authorization: token ${WPT_SYNC_TOKEN}" \ curl -H "Authorization: token ${WPT_SYNC_TOKEN}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
--data @prdata.json \ --data @prdata.json \
https://api.github.com/repos/servo/servo/pulls || return 4 https://api.github.com/repos/servo/servo/pulls || return 5
} }
function pull_from_upstream() { function pull_from_upstream() {