diff --git a/github.js b/github.js index e45e5d50..69825395 100644 --- a/github.js +++ b/github.js @@ -574,6 +574,7 @@ }; delPath += "?message=" + encodeURIComponent(params.message); delPath += "&sha=" + encodeURIComponent(params.sha); + delPath += '&branch=' + encodeURIComponent(branch); _request("DELETE", delPath, null, cb); }); };