From e637c1f34c575919c7a43eeff305485ac730ac90 Mon Sep 17 00:00:00 2001 From: Henning Dieterichs Date: Mon, 31 Jul 2023 14:32:16 +0200 Subject: [PATCH] Formats code --- scripts/lib/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/index.ts b/scripts/lib/index.ts index d03deceaa3..ee1c30e7d1 100644 --- a/scripts/lib/index.ts +++ b/scripts/lib/index.ts @@ -81,8 +81,8 @@ export function getNightlyVersion(version: string, prerelease: string | undefine const mm = String(date.getUTCMonth() + 1).padStart(2, '0'); const dd = String(date.getUTCDate()).padStart(2, '0'); - prerelease = prerelease || "dev-${today}"; - prerelease = prerelease.replace("${today}", `${yyyy}${mm}${dd}`); + prerelease = prerelease || 'dev-${today}'; + prerelease = prerelease.replace('${today}', `${yyyy}${mm}${dd}`); return `0.${minor + 1}.0-${prerelease}`; }