From f88f312f7b9311a6b17d36bd68d906bda319f697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20B=C3=A4umer?= Date: Thu, 11 May 2023 15:55:48 +0200 Subject: [PATCH] Prepare Pre-release 2.4.1 (#1651) * Prepare 2.4.1 pre-release * Fix lint errors --- README.md | 4 ++++ package.json | 2 +- server/src/paths.ts | 10 +++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 58b0c9da..2dc32730 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,10 @@ This section describes major releases and their improvements. For a detailed lis From version 2.2.3 on forward odd major, minor or patch version numbers indicate an insider or pre-release. So versions `2.2.3`, `2.2.5`, `2.3.1` and `3.0.0` will all be pre-release versions. `2.2.10`, `2.4.10` and `4.0.0` will all be regular release versions. +### Version 2.4.1 - Pre-release + +- various [bug fixes](https://github.com/microsoft/vscode-eslint/milestone/51?closed=1) + ### Version 2.4.0 (same as 2.3.5 - Pre-release) - added settings options to control the time budget for validation and fix on save before a diff --git a/package.json b/package.json index 1f63e311..9f664233 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-eslint", "displayName": "ESLint", "description": "Integrates ESLint JavaScript into VS Code.", - "version": "2.4.0", + "version": "2.4.1", "author": "Microsoft Corporation", "license": "MIT", "repository": { diff --git a/server/src/paths.ts b/server/src/paths.ts index d8b0afac..38d6ee45 100644 --- a/server/src/paths.ts +++ b/server/src/paths.ts @@ -86,11 +86,11 @@ export function getFileSystemPath(uri: URI): string { } if (process.platform === 'win32' || process.platform === 'darwin') { try { - const realpath = fs.realpathSync.native(result); - // Only use the real path if only the casing has changed. - if (realpath.toLowerCase() === result.toLowerCase()) { - result = realpath; - } + const realpath = fs.realpathSync.native(result); + // Only use the real path if only the casing has changed. + if (realpath.toLowerCase() === result.toLowerCase()) { + result = realpath; + } } catch { // Silently ignore errors from `fs.realpathSync` to handle scenarios where // the file being linted is not yet written to disk. This occurs in editors