Skip to content

Commit

Permalink
Merge pull request #44 from snyk/chore/remove-logging
Browse files Browse the repository at this point in the history
chore: remove misleading warning logging
  • Loading branch information
JackuB committed Aug 5, 2021
2 parents 82bf9da + 9ec1744 commit 99af286
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ public static String getModuleDetailsURL(ModuleURLDetails details) {
}

public TestResult scan(FileLayoutInfo fileLayoutInfo, RepoPath repoPath) {
if (!fileLayoutInfo.isValid()) {
LOG.warn("Artifact '{}' file layout info is not valid.", repoPath);
}

ModuleURLDetails details = getModuleDetailsFromFileLayoutInfo(fileLayoutInfo)
.orElseGet(() -> getModuleDetailsFromUrl(repoPath.toString())
.orElseThrow(() -> new CannotScanException("Module details not provided.")));
Expand Down

0 comments on commit 99af286

Please sign in to comment.