mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 10:15:17 -04:00
Format with Prettier 2
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
1ecf5def66
commit
3801b1b042
15 changed files with 36 additions and 94 deletions
|
@ -25,7 +25,7 @@ async function getServerVersionFromPackageJson() {
|
|||
const packageInfo: { version: string } = JSON.parse(rawFileContent);
|
||||
const versionParts: number[] = packageInfo.version
|
||||
.split('.')
|
||||
.map(x => parseInt(x, 10));
|
||||
.map((x) => parseInt(x, 10));
|
||||
versionCache = {
|
||||
major: versionParts[0],
|
||||
minor: versionParts[1],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue