From 329002c80ef706d74a06b17b2e250b79f4132223 Mon Sep 17 00:00:00 2001 From: Andrian Sevastyanov Date: Thu, 21 Sep 2023 16:03:20 -0600 Subject: [PATCH] Log cpanm version --- .../detectable/detectables/cpan/CpanCliExtractor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/detectable/src/main/java/com/synopsys/integration/detectable/detectables/cpan/CpanCliExtractor.java b/detectable/src/main/java/com/synopsys/integration/detectable/detectables/cpan/CpanCliExtractor.java index e870b2c936..b9eb4eb9fe 100644 --- a/detectable/src/main/java/com/synopsys/integration/detectable/detectables/cpan/CpanCliExtractor.java +++ b/detectable/src/main/java/com/synopsys/integration/detectable/detectables/cpan/CpanCliExtractor.java @@ -29,6 +29,8 @@ public CpanCliExtractor(CpanListParser cpanListParser, DetectableExecutableRunne } public Extraction extract(ExecutableTarget cpanExe, ExecutableTarget cpanmExe, File workingDirectory) throws ExecutableRunnerException { + toolVersionLogger.log(workingDirectory, cpanmExe); + List listText = generateCpanListOutput(workingDirectory, cpanExe); ExecutableOutput showdepsOutput = executableRunner.execute(ExecutableUtils.createFromTarget(workingDirectory, cpanmExe, "--showdeps", "."));