Skip to content

Commit

Permalink
Fix typo in Artifact Overrides docstring (JuliaLang#46398)
Browse files Browse the repository at this point in the history
* Fix typo in Artifact Overrides docstring

The docs say `Override.toml`, but the code looks for `Overrides.toml`.

* add two more instances of this typo

Co-authored-by: KristofferC <[email protected]>
  • Loading branch information
MichaelHatherly and KristofferC authored Aug 20, 2022
1 parent a77ba79 commit 0cbf05a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stdlib/Artifacts/src/Artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ end
"""
ARTIFACT_OVERRIDES
Artifact locations can be overridden by writing `Override.toml` files within the artifact
Artifact locations can be overridden by writing `Overrides.toml` files within the artifact
directories of Pkg depots. For example, in the default depot `~/.julia`, one may create
a `~/.julia/artifacts/Override.toml` file with the following contents:
a `~/.julia/artifacts/Overrides.toml` file with the following contents:
78f35e74ff113f02274ce60dab6e92b4546ef806 = "/path/to/replacement"
c76f8cda85f83a06d17de6c57aabf9e294eb2537 = "fb886e813a4aed4147d5979fcdf27457d20aa35d"
Expand Down Expand Up @@ -313,7 +313,7 @@ end
"""
process_overrides(artifact_dict::Dict, pkg_uuid::Base.UUID)
When loading an `Artifacts.toml` file, we must check `Override.toml` files to see if any
When loading an `Artifacts.toml` file, we must check `Overrides.toml` files to see if any
of the artifacts within it have been overridden by UUID. If they have, we honor the
overrides by inspecting the hashes of the targeted artifacts, then overriding them to
point to the given override, punting the actual redirection off to the hash-based
Expand Down

0 comments on commit 0cbf05a

Please sign in to comment.