mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Formats code
This commit is contained in:
parent
3a71daa740
commit
e637c1f34c
1 changed files with 2 additions and 2 deletions
|
|
@ -81,8 +81,8 @@ export function getNightlyVersion(version: string, prerelease: string | undefine
|
||||||
const mm = String(date.getUTCMonth() + 1).padStart(2, '0');
|
const mm = String(date.getUTCMonth() + 1).padStart(2, '0');
|
||||||
const dd = String(date.getUTCDate()).padStart(2, '0');
|
const dd = String(date.getUTCDate()).padStart(2, '0');
|
||||||
|
|
||||||
prerelease = prerelease || "dev-${today}";
|
prerelease = prerelease || 'dev-${today}';
|
||||||
prerelease = prerelease.replace("${today}", `${yyyy}${mm}${dd}`);
|
prerelease = prerelease.replace('${today}', `${yyyy}${mm}${dd}`);
|
||||||
|
|
||||||
return `0.${minor + 1}.0-${prerelease}`;
|
return `0.${minor + 1}.0-${prerelease}`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue