From bee4b6f91a00d67caadde83be71cb54d025b130e Mon Sep 17 00:00:00 2001 From: ManjunathMS35 Date: Wed, 17 Aug 2022 09:55:23 +0200 Subject: [PATCH] Use Snyk as data provider (#860) Fixes #717 --- .../com/sap/oss/phosphor/fosstars/data/github/UsesSnyk.java | 2 +- .../oss/phosphor/fosstars/model/feature/oss/OssFeatures.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/sap/oss/phosphor/fosstars/data/github/UsesSnyk.java b/src/main/java/com/sap/oss/phosphor/fosstars/data/github/UsesSnyk.java index 8f79c5879..98f8fb85d 100644 --- a/src/main/java/com/sap/oss/phosphor/fosstars/data/github/UsesSnyk.java +++ b/src/main/java/com/sap/oss/phosphor/fosstars/data/github/UsesSnyk.java @@ -103,4 +103,4 @@ private boolean hasSnykPolicy(LocalRepository repository) throws IOException { List snykPolicyFilePaths = repository.files(SNYK_FILE_PREDICATE); return !snykPolicyFilePaths.isEmpty(); } -} \ No newline at end of file +} diff --git a/src/main/java/com/sap/oss/phosphor/fosstars/model/feature/oss/OssFeatures.java b/src/main/java/com/sap/oss/phosphor/fosstars/model/feature/oss/OssFeatures.java index b740b2404..2fc82970e 100755 --- a/src/main/java/com/sap/oss/phosphor/fosstars/model/feature/oss/OssFeatures.java +++ b/src/main/java/com/sap/oss/phosphor/fosstars/model/feature/oss/OssFeatures.java @@ -185,7 +185,6 @@ private OssFeatures() { public static final Feature USES_SNYK = new BooleanFeature("If a project uses Snyk"); - /** * Shows if an open source project has open pull requests from Snyk which means that * there are dependencies with known vulnerabilities.