-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This slightly modifies the semantics for the sake of replacing a slightly non-obvious function with a call to Version.match?/3. It also fixes a credo warning about Enum.filter that would have added a couple lines of code to fix. The end result is that if you're on a prerelease, you'll get notified to upgrade to a later prerelease even if it's not the same major, minor, patch version. This seems like a highly unlikely use case given our history of releases with this project.
- Loading branch information
Showing
3 changed files
with
10 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Run `mix dialyzer --format short` for strings | ||
[ | ||
{"lib/nerves_bootstrap/update_checker.ex:7:9:unknown_function Function Hex.start/0 does not exist."}, | ||
{"lib/nerves_bootstrap/update_checker.ex:8:45:unknown_function Function Hex.API.Package.get/2 does not exist."} | ||
{"lib/nerves_bootstrap/update_checker.ex:9:9:unknown_function Function Hex.start/0 does not exist."}, | ||
{"lib/nerves_bootstrap/update_checker.ex:10:45:unknown_function Function Hex.API.Package.get/2 does not exist."} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters