Github: add missing testGitExecutable

This commit is contained in:
Aleksey Pivovarov
2013-09-28 17:29:35 +04:00
parent c4cb6bbb73
commit 8850c09e7e
@@ -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;
}