Skip to content

Commit

Permalink
Set default value for RC release notes
Browse files Browse the repository at this point in the history
Yargs handles this when invoked directly, but it's failing when invoked by the release script
  • Loading branch information
jtoar committed May 5, 2022
1 parent 0e2323a commit c45327c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/release/generateReleaseNotes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import octokit from './octokit.mjs'
*/
export default async function generateReleaseNotes(
milestone,
{ releaseCandidate }
{ releaseCandidate = false }
) {
// Get the milestone's title, id, and PRs.
const { title, id } = await getMilestoneId(milestone)
Expand Down

0 comments on commit c45327c

Please sign in to comment.