Skip to content

Commit

Permalink
Fix grammar
Browse files Browse the repository at this point in the history
neither…nor, completing what done in haskell#9162
  • Loading branch information
ffaf1 committed Nov 9, 2023
1 parent 722ac9c commit a159353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cabal/src/Distribution/PackageDescription/Check/Warning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ ppExplanation SignaturesCabal2 =
"To use the 'signatures' field the package needs to specify "
++ "at least 'cabal-version: 2.0'."
ppExplanation AutogenNotExposed =
"An 'autogen-module' is neither on 'exposed-modules' or 'other-modules'."
"An 'autogen-module' is neither on 'exposed-modules' nor 'other-modules'."
ppExplanation AutogenIncludesNotIncluded =
"An include in 'autogen-includes' is neither in 'includes' or "
"An include in 'autogen-includes' is neither in 'includes' nor "
++ "'install-includes'."
ppExplanation (NoMainIs eName) =
"No 'main-is' field found for executable " ++ prettyShow eName
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cabal check
The package will not build sanely due to these errors:
Error: An include in 'autogen-includes' is neither in 'includes' or 'install-includes'.
Error: An include in 'autogen-includes' is neither in 'includes' nor 'install-includes'.
Error: Hackage would reject this package.

0 comments on commit a159353

Please sign in to comment.