Merge branch 'bugfix/idfpy_unknown_target_message' into 'master'

idf.py: Fix error message for unknown target

See merge request espressif/esp-idf!6817
This commit is contained in:
Ivan Grokhotkov
2019-11-26 00:10:09 +08:00

View File

@@ -41,8 +41,7 @@ def action_extensions(base_actions, project_path):
except Exception:
raise FatalError(
'command "%s" is not known to idf.py and is not a %s target' %
(target_name, GENERATORS[args.generator].command))
'command "%s" is not known to idf.py and is not a %s target' % (target_name, args.generator))
run_target(target_name, args)