From a11da0d5e35d5503afbac8ef36620517082d62e4 Mon Sep 17 00:00:00 2001 From: pvdlg Date: Sun, 29 Apr 2018 00:53:14 -0400 Subject: [PATCH] docs: fix jsdoc typos --- test/helpers/git-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers/git-utils.js b/test/helpers/git-utils.js index c974e27b..25951ae0 100644 --- a/test/helpers/git-utils.js +++ b/test/helpers/git-utils.js @@ -98,7 +98,6 @@ export async function gitGetCommits(from) { * Checkout a branch on the current git repository. * * @param {String} branch Branch name. - * @param {boolean} create `true` to create the branche ans switch, `false` to only switch. */ export async function gitCheckout(branch, create = true) { await execa('git', create ? ['checkout', '-b', branch] : ['checkout', branch]); @@ -126,6 +125,7 @@ export async function gitTagVersion(tagName, sha) { * The shallow will contain a limited number of commit and no tags. * * @param {String} origin The path of the repository to clone. + * @param {String} [branch='master'] the branch to clone. * @param {Number} [depth=1] The number of commit to clone. * @return {String} The path of the cloned repository. */