From: tommyhu <129492208+hiTommyhu@users.noreply.github.com> Date: Fri, 28 Feb 2025 14:50:12 +0000 (+0800) Subject: chore(postversion): use `const` instead of `let` (#700) X-Git-Tag: v3.15.0~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2a93862cfebd44259b90f43f5e714cb3bf595b4;p=thirdparty%2Fvuejs%2Fcreate-vue.git chore(postversion): use `const` instead of `let` (#700) --- diff --git a/scripts/postversion.mjs b/scripts/postversion.mjs index e253475d..4d569fb0 100644 --- a/scripts/postversion.mjs +++ b/scripts/postversion.mjs @@ -6,7 +6,7 @@ $.verbose = true await $`pnpm build` await $`pnpm snapshot` -let { version } = JSON.parse(await fs.readFile('./package.json')) +const { version } = JSON.parse(await fs.readFile('./package.json')) const playgroundDir = path.resolve(__dirname, '../playground/') cd(playgroundDir)