Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Jan 20, 2025
1 parent 11377b2 commit 30ff5fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ public boolean isApplicable(DocumentContext documentContext) {
var uri = documentContext.getUri();
var testSources = getSelf().getTestSources(documentContext.getServerContext().getConfigurationRoot());

return documentContext.getFileType() == FileType.OS
&& testSources.stream().anyMatch(testSource -> isInside(uri, testSource))
&& clientIsSupported;
return clientIsSupported
&& documentContext.getFileType() == FileType.OS
&& testSources.stream().anyMatch(testSource -> isInside(uri, testSource));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public class TestRunnerAdapter {
@EventListener
@CacheEvict(allEntries = true)
public void handleEvent(LanguageServerConfigurationChangedEvent event) {
// No-op. Служит для сброса кеша при изменении конфигурации
}

/**
Expand Down

0 comments on commit 30ff5fe

Please sign in to comment.