error-message: fix the incorrect output of low nrfutil version. (#581)
This commit is contained in:
@@ -745,7 +745,7 @@ class OpenSKInstaller:
|
|||||||
nrfutil_version = __import__("nordicsemi.version").version.NRFUTIL_VERSION
|
nrfutil_version = __import__("nordicsemi.version").version.NRFUTIL_VERSION
|
||||||
if not nrfutil_version.startswith("6."):
|
if not nrfutil_version.startswith("6."):
|
||||||
fatal(("You need to install nrfutil python3 package v6.0 or above. "
|
fatal(("You need to install nrfutil python3 package v6.0 or above. "
|
||||||
"Found: {nrfutil_version}"))
|
f"Found: v{nrfutil_version}"))
|
||||||
if not SUPPORTED_BOARDS[self.args.board].nordic_dfu:
|
if not SUPPORTED_BOARDS[self.args.board].nordic_dfu:
|
||||||
fatal("This board doesn't support flashing over DFU.")
|
fatal("This board doesn't support flashing over DFU.")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user