Skip to content

Commit

Permalink
Address review comments and test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Sep 3, 2020
1 parent 21947e0 commit bf19427
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stdlib/Artifacts/src/Artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module Artifacts
import Base: get, SHA1
using Base.BinaryPlatforms, Base.TOML

export artifact_exists, artifact_path, remove_artifact, verify_artifact,
artifact_meta, artifact_hash, find_artifacts_toml, @artifact_str
export artifact_exists, artifact_path, artifact_meta, artifact_hash,
find_artifacts_toml, @artifact_str

"""
parse_toml(path::String)
Expand Down Expand Up @@ -158,13 +158,13 @@ function load_overrides(;force::Bool = false)
end

# For each name in the mapping, update appropriately
for name in keys(mapping)
for (name, override_value) in keys(mapping)
# If the mapping for this name is the empty string, un-override it
if mapping[name] == ""
if override_value == ""
delete!(ovruuid[uuid], name)
else
# Otherwise, store it!
ovruuid[uuid][name] = mapping[name]
ovruuid[uuid][name] = override_value
end
end
end
Expand Down

0 comments on commit bf19427

Please sign in to comment.