Skip to content

Commit

Permalink
chore: dynamically construct path to Java API Adapter jar file
Browse files Browse the repository at this point in the history
Signed-off-by: Ilona Shishov <[email protected]>
  • Loading branch information
IlonaShishov committed Apr 14, 2024
1 parent e160ce3 commit 9ce2e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imageAnalysis/analysis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ interface IOptions {
*/
function imageAnalysisService(images: IImage[], options: IOptions): Promise<any> {
return new Promise<any>((resolve, reject) => {
const jarPath = '/home/Ilonas/Documents/SSSC/RHDA/fabric8-analytics-lsp-server/javaApiAdapter/exhort-java-api-adapter-1.0-SNAPSHOT-jar-with-dependencies.jar';
const jarPath = `${__dirname}/../javaApiAdapter/exhort-java-api-adapter-1.0-SNAPSHOT-jar-with-dependencies.jar`;
const reportType = 'json';
let parameters = '';
let properties = '';
Expand Down

0 comments on commit 9ce2e0a

Please sign in to comment.