From 526950295cc57e2a9ac5adb5f4f52ceba83c31ea Mon Sep 17 00:00:00 2001 From: midays Date: Mon, 15 Apr 2024 14:32:36 +0300 Subject: [PATCH] change key name to cli_path --- src/config/ide_config.json | 2 +- src/models/configuration/configurations_object.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/ide_config.json b/src/config/ide_config.json index 6d97dfd..f15f396 100644 --- a/src/config/ide_config.json +++ b/src/config/ide_config.json @@ -1,5 +1,5 @@ { "timeout_in_seconds": 15.0, - "kantra_cli_path": "", + "cli_path": "", "project_path": "" } diff --git a/src/models/configuration/configurations_object.py b/src/models/configuration/configurations_object.py index 1657a05..28664b8 100644 --- a/src/models/configuration/configurations_object.py +++ b/src/models/configuration/configurations_object.py @@ -37,7 +37,7 @@ def create(self, analysis_data, app_name, application_config, config, uuid): # Build data for analysis configuration options = Options.from_dict(application_data["options"]) options.input = [project_path] - options.cli = config["windup_cli_path"] + options.cli = config["cli_path"] options.output = f"{application_config['plugin_cache_path']}/{uuid}" configuration = Configuration(name=app_name, id=uuid, options=options)