mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
idf.py: Fix error message for unknown target
This commit is contained in:
@@ -41,8 +41,7 @@ def action_extensions(base_actions, project_path):
|
|||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
raise FatalError(
|
raise FatalError(
|
||||||
'command "%s" is not known to idf.py and is not a %s target' %
|
'command "%s" is not known to idf.py and is not a %s target' % (target_name, args.generator))
|
||||||
(target_name, GENERATORS[args.generator].command))
|
|
||||||
|
|
||||||
run_target(target_name, args)
|
run_target(target_name, args)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user