fix: remove unnecessary branch parameter from push function

This commit is contained in:
Pierre Vanduynslager
2018-11-29 20:44:31 -05:00
parent b729183b4a
commit 968b9968a1
3 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -229,12 +229,11 @@ async function tag(tagName, ref, 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);
}