cli/machine/hardware: improve error message
This commit is contained in:
@@ -118,7 +118,7 @@ def run_machine_hardware_info(
|
|||||||
commit_file(
|
commit_file(
|
||||||
hw_file,
|
hw_file,
|
||||||
opts.machine.flake.path,
|
opts.machine.flake.path,
|
||||||
f"machines/{opts.machine}/{hw_file.name}: update hardware configuration",
|
f"machines/{opts.machine.name}/{hw_file.name}: update hardware configuration",
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
get_machine_target_platform(opts.machine)
|
get_machine_target_platform(opts.machine)
|
||||||
|
|||||||
Reference in New Issue
Block a user