fix: remove unnecessary branch parameter from push function

This commit is contained in:
Pierre Vanduynslager
2018-11-29 20:08:25 -05:00
parent 7a9922a492
commit ffe1062830
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -143,12 +143,11 @@ async function tag(tagName, execaOpts) {
* Push to the remote repository.
*
* @param {String} repositoryUrl The remote repository URL.
* @param {String} branch The branch to push.
* @param {Object} [execaOpts] Options to pass to `execa`.
*
* @throws {Error} if the push failed.
*/
async function push(repositoryUrl, branch, execaOpts) {
async function push(repositoryUrl, execaOpts) {
await execa('git', ['push', '--tags', repositoryUrl], execaOpts);
}