Skip to content

Commit

Permalink
Fix post rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoader committed Sep 4, 2024
1 parent 268d01d commit 86540da
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.google.idea.blaze.base.model.primitives.ExternalWorkspace;
import com.intellij.codeInsight.completion.InsertionContext;
import com.intellij.openapi.editor.Document;
import com.intellij.psi.PsiElement;
import com.intellij.psi.util.PsiTreeUtil;
import com.intellij.util.PlatformIcons;
import org.jetbrains.annotations.Nullable;
Expand All @@ -16,7 +15,7 @@ public class ExternalWorkspaceLookupElement extends BuildLookupElement {
private final ExternalWorkspace workspace;

public ExternalWorkspaceLookupElement(ExternalWorkspace workspace) {
super('@' + workspace.repositoryName(), QuoteType.NoQuotes);
super('@' + workspace.repoName(), QuoteType.NoQuotes);
this.workspace = workspace;
}

Expand All @@ -28,7 +27,7 @@ public String getLookupString() {
@Override
@Nullable
protected String getTypeText() {
return !workspace.repositoryName().equals(workspace.name()) ? '@' + workspace.name() : null;
return !workspace.repoName().equals(workspace.name()) ? '@' + workspace.name() : null;
}

@Override
Expand Down

0 comments on commit 86540da

Please sign in to comment.