Fix prettier errors

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-01-05 23:11:31 +01:00
parent 7960776bd1
commit 890e9c942b
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
4 changed files with 28 additions and 24 deletions

View file

@ -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],