Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to also warn for nrfutil-device 2.7 #1052

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

datenreisender
Copy link
Contributor

Since nrfutil-device 2.7 jlinkVersionDependency will also be defined when no J-Link is installed. But then jlinkVersionDependency.version will be undefined.

So this handles both cases correct if J-Link is not installed:

  • For nrfutil-device < 2.7 jlinkVersionDependency will be undefined
  • For nrfutil-device >= 2.7 jlinkVersionDependency.version will be undefined

Since nrfutil-device 2.7 jlinkVersionDependency will also be defined
when no J-Link is installed. But then jlinkVersionDependency.version
will be undefined.

So this handles both cases correct if J-Link is not installed:
- For nrfutil-device < 2.7 jlinkVersionDependency will be undefined
- For nrfutil-device >= 2.7 jlinkVersionDependency.version will be
  undefined
@datenreisender datenreisender added doc not required All PRs either need "doc required" or "doc not required". ui not required All PRs either need "ui required" or "ui not required". labels Oct 25, 2024
@NordicSemiconductor NordicSemiconductor deleted a comment from github-actions bot Oct 25, 2024
@datenreisender datenreisender merged commit 934da6e into main Oct 25, 2024
7 of 8 checks passed
@datenreisender datenreisender deleted the fix/handle_nrfutil_device_2.7 branch October 25, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc not required All PRs either need "doc required" or "doc not required". ui not required All PRs either need "ui required" or "ui not required".
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant