From c688d1c022178ba65f86bc20a5cc60e91e318905 Mon Sep 17 00:00:00 2001 From: Rhys Koedijk Date: Thu, 7 Nov 2024 22:31:22 +1300 Subject: [PATCH] refactor: do not show the snyk-report-tab on build results that do not contain the snyk task --- vss-extension-dev.json | 3 ++- vss-extension.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vss-extension-dev.json b/vss-extension-dev.json index 669a967c..010ccb7f 100644 --- a/vss-extension-dev.json +++ b/vss-extension-dev.json @@ -81,7 +81,8 @@ "targets": ["ms.vss-build-web.build-results-view"], "properties": { "name": "Snyk Report", - "uri": "ui/snyk-report-tab.html" + "uri": "ui/snyk-report-tab.html", + "supportsTasks": ["826d5fe9-3983-4643-b918-487964d7cc87"] } }, { diff --git a/vss-extension.json b/vss-extension.json index 0ed60eb4..52d2aaea 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -81,7 +81,8 @@ "targets": ["ms.vss-build-web.build-results-view"], "properties": { "name": "Snyk Report", - "uri": "ui/snyk-report-tab.html" + "uri": "ui/snyk-report-tab.html", + "supportsTasks": ["826d5fe9-3983-4643-b918-487964d7cc87"] } }, {