mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[intellij-sh] Fix tests
GitOrigin-RevId: bb8e9abe77606f40110cf87d8135c608ae5c28dc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
57c3798aa9
commit
8f2609bef5
@@ -69,7 +69,7 @@ public class ShShellcheckExternalAnnotator extends ExternalAnnotator<ShShellchec
|
||||
public ShellcheckResponse doAnnotate(@NotNull CollectedInfo fileInfo) {
|
||||
// Temporary solution to avoid execution under read action in dumb mode. Should be removed after IDEA-229905 will be fixed
|
||||
Application application = ApplicationManager.getApplication();
|
||||
if (application != null && application.isReadAccessAllowed()) return null;
|
||||
if (application != null && application.isReadAccessAllowed() && !application.isUnitTestMode()) return null;
|
||||
|
||||
String shellcheckExecutable = ShSettings.getShellcheckPath();
|
||||
if (!ShShellcheckUtil.isExecutionValidPath(shellcheckExecutable)) return null;
|
||||
|
||||
Reference in New Issue
Block a user