From 3d81f2afa790fb1a167bc7deec5ba27d3024b42a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Miguel=20=20Melo?= Date: Thu, 21 May 2020 15:34:15 +0100 Subject: [PATCH] fix: Coverage reporter helper usage with correct command on native image --- .../com/codacy/configuration/parser/ConfigurationParser.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/scala/com/codacy/configuration/parser/ConfigurationParser.scala b/src/main/scala/com/codacy/configuration/parser/ConfigurationParser.scala index dbca4496..590bb5b3 100644 --- a/src/main/scala/com/codacy/configuration/parser/ConfigurationParser.scala +++ b/src/main/scala/com/codacy/configuration/parser/ConfigurationParser.scala @@ -20,9 +20,7 @@ abstract class ConfigurationParsingApp extends CommandAppWithPreCommand[BaseComm @AppName("codacy-coverage-reporter") @AppVersion(Option(BaseCommand.getClass.getPackage.getImplementationVersion).getOrElse("dev")) -@ProgName( - s"java -cp codacy-coverage-reporter-assembly-${Option(BaseCommand.getClass.getPackage.getImplementationVersion).getOrElse("dev")}.jar" -) +@ProgName("codacy-coverage-reporter") case class BaseCommand() sealed trait CommandConfiguration {