mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
assertion fixed
This commit is contained in:
@@ -95,9 +95,11 @@ public class GithubRebaseAction extends DumbAwareAction {
|
||||
return GithubUtil.findGitHubRemoteBranch(project, project.getBaseDir());
|
||||
}
|
||||
});
|
||||
final List<GitRemote> gitRemotes = GitRemote.list(project, root);
|
||||
LOG.assertTrue(githubRemote != null);
|
||||
if (githubRemote == null){
|
||||
return;
|
||||
}
|
||||
|
||||
final List<GitRemote> gitRemotes = GitRemote.list(project, root);
|
||||
final String pushUrl = githubRemote.pushUrl();
|
||||
final String login = GithubSettings.getInstance().getLogin();
|
||||
final int index = pushUrl.lastIndexOf(login);
|
||||
|
||||
Reference in New Issue
Block a user