Skip to content

Commit

Permalink
Formats code
Browse files Browse the repository at this point in the history
  • Loading branch information
hediet committed Jul 31, 2023
1 parent 3a71daa commit e637c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}
Expand Down

0 comments on commit e637c1f

Please sign in to comment.