fix(tools): adjusted esptool @flash_args command print to prevent issues

This commit is contained in:
Jakub Kocka
2023-10-05 11:01:58 +02:00
parent 1d5532badc
commit d641168663

View File

@@ -501,7 +501,7 @@ def init_cli(verbose_output: List=None) -> Any:
if os.path.exists(os.path.join(args.build_dir, 'flash_args')): if os.path.exists(os.path.join(args.build_dir, 'flash_args')):
print(f'or from the "{args.build_dir}" directory') print(f'or from the "{args.build_dir}" directory')
print(' {}'.format(' '.join(esptool_cmd + ['@flash_args']))) print(' {}'.format(' '.join(esptool_cmd + ['"@flash_args"'])))
if 'all' in actions or 'build' in actions: if 'all' in actions or 'build' in actions:
print_flashing_message('Project', 'project') print_flashing_message('Project', 'project')