From 27b550a2c1b149d5a0487638420a44cb11ff5c4d Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Tue, 31 Oct 2023 11:40:43 -0400 Subject: [PATCH] improve variable name --- scripts/deploy/deploy-production.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy/deploy-production.ts b/scripts/deploy/deploy-production.ts index 70dc2f9717..1393f7f52d 100644 --- a/scripts/deploy/deploy-production.ts +++ b/scripts/deploy/deploy-production.ts @@ -38,13 +38,13 @@ const evergreenDeploy = async () => { // Print all commits between the last tag and the current commit console.log(`Commit messages:\n${commitMessages}`); - const { value: shouldCreateAndPushTag } = await prompts({ + const { value: shouldCreateTagAndPush } = await prompts({ type: "confirm", name: "value", message: "Are you sure you want to deploy to production?", }); - if (shouldCreateAndPushTag) { + if (shouldCreateTagAndPush) { createTagAndPush(); } } catch (err) {