From: Eduardo San Martin Morote Date: Fri, 3 Sep 2021 14:29:18 +0000 (+0200) Subject: build: fix variables X-Git-Tag: @pinia/nuxt@0.0.2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=977f74eabfe42579fbf274b8709e045fb3f497ad;p=thirdparty%2Fvuejs%2Fpinia.git build: fix variables --- diff --git a/scripts/release.mjs b/scripts/release.mjs index 022f4ef6..a404617d 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -150,7 +150,7 @@ async function main() { }) ) - const { yes } = await prompt({ + const { yes: isReleaseConfirmed } = await prompt({ type: 'confirm', name: 'yes', message: `Releasing \n${pkgWithVersions @@ -161,7 +161,7 @@ async function main() { .join('\n')}\nConfirm?`, }) - if (!yes) { + if (!isReleaseConfirmed) { return } @@ -180,13 +180,13 @@ async function main() { ) } - const { yes } = await prompt({ + const { yes: isChangelogCorrect } = await prompt({ type: 'confirm', name: 'yes', message: 'Are the changelogs correct?', }) - if (!yes) { + if (!isChangelogCorrect) { return }