Skip to content

Commit

Permalink
Use latest language server
Browse files Browse the repository at this point in the history
  • Loading branch information
sophio-japharidze-sonarsource committed Dec 5, 2024
1 parent c7b6b66 commit cc70a9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"groupId": "org.sonarsource.sonarlint.ls",
"artifactId": "sonarlint-language-server",
"version": "3.13.1.75732",
"version": "3.13.1.75733",
"output": "server/sonarlint-ls.jar"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/fileSystem/fileSystemServiceImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { FileSystemSubscriber } from './fileSystemSubscriber';

export class FileSystemServiceImpl implements FileSystemService {
private static _instance: FileSystemServiceImpl;
// .sonarlint folder is handled separately; We are not interested in other folders;
private static readonly EXCLUDED_FOLDER_NAMES : string[] = ['.sonarlint', '.git', 'node_modules', '.DS_Store']
listeners= [];

Expand Down Expand Up @@ -44,7 +45,6 @@ export class FileSystemServiceImpl implements FileSystemService {
// Call the listeners; Only pass Uri of configScope, not child directories
this.listeners.forEach(listener => listener.onFile(configScopeUri.toString(), name, fullFileUri));
}
// .sonarlint folder is already handled separately, skipping it in recursive crawl
if (type === vscode.FileType.Directory && !FileSystemServiceImpl.EXCLUDED_FOLDER_NAMES.includes(name)) {
await this.listFilesRecursively(configScopeUri, fullFileUri);
}
Expand Down

0 comments on commit cc70a9e

Please sign in to comment.