Skip to content

Commit

Permalink
Prepare Pre-release 2.4.1 (#1651)
Browse files Browse the repository at this point in the history
* Prepare 2.4.1 pre-release

* Fix lint errors
  • Loading branch information
dbaeumer authored May 11, 2023
1 parent d821444 commit f88f312
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
10 changes: 5 additions & 5 deletions server/src/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f88f312

Please sign in to comment.