Skip to content

Commit

Permalink
Fix two typos in error messages (#1126)
Browse files Browse the repository at this point in the history
* Fix typo (to build the the package -> to build the package)

* Fix typo (exists the the cache -> exists in the cache)
  • Loading branch information
Cloudperry authored Jul 22, 2023
1 parent 5dff3c1 commit 2b76173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nimblepkg/displaymessages.nim
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ proc invalidDevelopDependenciesVersionsMsg*(errors: seq[string]): string =

proc pkgAlreadyExistsInTheCacheMsg*(name, version, checksum: string): string =
&"A package \"{name}@{version}\" with checksum \"{checksum}\" already " &
"exists the the cache."
"exists in the cache."

proc pkgAlreadyExistsInTheCacheMsg*(pkgInfo: PackageInfo): string =
pkgAlreadyExistsInTheCacheMsg(
Expand Down
2 changes: 1 addition & 1 deletion src/nimblepkg/packageparser.nim
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ proc validatePackageStructure(pkgInfo: PackageInfo, options: Options) =
"the main module, or if it is one of several " &
"modules exposed by '$4', then move it into a '$2' subdirectory. " &
"If it's a test file or otherwise not required " &
"to build the the package '$1', prevent its installation " &
"to build the package '$1', prevent its installation " &
"by adding `skipFiles = @[\"$3\"]` to the .nimble file. See " &
"https://github.com/nim-lang/nimble#libraries for more info.") %
[pkgInfo.basicInfo.name & ext, correctDir & DirSep, file & ext, pkgInfo.basicInfo.name]
Expand Down

0 comments on commit 2b76173

Please sign in to comment.