2021.4.6 #25

Merged
edraft merged 57 commits from 2021.4.6 into 2021.4.post1 2021-04-11 15:54:38 +02:00
Showing only changes of commit 5987b71c80 - Show all commits

View File

@ -85,7 +85,7 @@ class Configuration(ConfigurationABC):
Console.write_line(f'[{name}] {message}') Console.write_line(f'[{name}] {message}')
Console.set_foreground_color(ForegroundColorEnum.default) Console.set_foreground_color(ForegroundColorEnum.default)
def _set_variable(self, name: str, value: str): def _set_variable(self, name: str, value: any):
""" """
Sets variable to given value Sets variable to given value
:param name: :param name:
@ -295,9 +295,12 @@ class Configuration(ConfigurationABC):
exit() exit()
add_args = []
for next_arg in next_arguments: for next_arg in next_arguments:
if next_arg not in self._handled_args and next_arg not in self._additional_arguments: if next_arg not in self._handled_args and next_arg not in self._additional_arguments:
self._additional_arguments.append(next_arg) add_args.append(next_arg)
self._set_variable(f'{argument}AdditionalArguments', add_args)
def add_json_file(self, name: str, optional: bool = None, output: bool = True, path: str = None): def add_json_file(self, name: str, optional: bool = None, output: bool = True, path: str = None):
if os.path.isabs(name): if os.path.isabs(name):