mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Github: add missing testGitExecutable
This commit is contained in:
@@ -97,7 +97,7 @@ public class GithubShareAction extends DumbAwareAction {
|
||||
final Project project = e.getData(PlatformDataKeys.PROJECT);
|
||||
final VirtualFile file = e.getData(PlatformDataKeys.VIRTUAL_FILE);
|
||||
|
||||
if (project == null || project.isDisposed()) {
|
||||
if (project == null || project.isDisposed() || !GithubUtil.testGitExecutable(project)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user