From ec75495ee3d62e211b55f19a80ef71464fd51288 Mon Sep 17 00:00:00 2001 From: Jeff Cook Date: Thu, 8 Apr 2021 13:27:49 +0000 Subject: [PATCH] No need to export under the alias isPluginApplicableToEntity. ... That's an old pattern, per https://github.com/backstage/backstage/pull/5245#discussion_r609367059. Signed-off-by: Jeff Cook --- .changeset/chatty-ghosts-lay.md | 2 +- plugins/sonarqube/src/components/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.changeset/chatty-ghosts-lay.md b/.changeset/chatty-ghosts-lay.md index 26a83f89f9..7d8ef3edbd 100644 --- a/.changeset/chatty-ghosts-lay.md +++ b/.changeset/chatty-ghosts-lay.md @@ -2,4 +2,4 @@ '@backstage/plugin-sonarqube': patch --- -Export isPluginApplicableToEntity +Export isSonarQubeAvailable. diff --git a/plugins/sonarqube/src/components/index.ts b/plugins/sonarqube/src/components/index.ts index 8ff9a77485..56b9d05885 100644 --- a/plugins/sonarqube/src/components/index.ts +++ b/plugins/sonarqube/src/components/index.ts @@ -15,4 +15,4 @@ */ export * from './SonarQubeCard'; -export { isSonarQubeAvailable as isPluginApplicableToEntity } from './useProjectKey'; +export { isSonarQubeAvailable } from './useProjectKey';