Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kate <[email protected]>
  • Loading branch information
rjbou and kit-ty-kate authored Dec 3, 2024
1 parent 99a404c commit 20cbb73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ users)
## Source

## Lint
* [NEW] Add W74 to detect `pin-depends` packages that are not present in `depends` nor `depopts` field [#6317 @rjbou - fix #5795]
* [NEW] Add W74 to detect `pin-depends` packages that are neither present in the `depends` nor `depopts` field [#6317 @rjbou - fix #5795]

## Repository
* Accurately tag `curl` download command when loaded from global config file [#6270 @rjbou]
Expand Down
2 changes: 1 addition & 1 deletion src/state/opamFileTools.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ let t_lint ?check_extra_files ?(check_upstream=false) ?(all=false) t =
|> List.map OpamPackage.Name.to_string
in
cond 74 `Warning
"Field 'pin-depends' contains packages that are not in 'depends' nor in \
"Field 'pin-depends' contains packages that are neither in 'depends' nor in \
'depopts'"
~detail:missing
(missing <> []));
Expand Down

0 comments on commit 20cbb73

Please sign in to comment.