JuliaPackaging / Scratch.jl

Scratch spaces for all your persistent mutable data needs
MIT License
58 stars 11 forks source link

Fix find_uuid #14

Closed tkf closed 3 years ago

tkf commented 3 years ago

This PR fixes a typo in

https://github.com/JuliaPackaging/Scratch.jl/blob/56771063045708ef8fc01ad8616db9edab06f3a7/src/Scratch.jl#L43

i.e., parent_pkg in the rhs should be mod.

This code path is tested by verifying the invariance @get_scratch!(key) == get_scratch!(@__MODULE__, key).

codecov[bot] commented 3 years ago

Codecov Report

Merging #14 into master will increase coverage by 1.11%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
+ Coverage   81.11%   82.22%   +1.11%     
==========================================
  Files           1        1              
  Lines          90       90              
==========================================
+ Hits           73       74       +1     
+ Misses         17       16       -1     
Impacted Files Coverage Δ
src/Scratch.jl 82.22% <100.00%> (+1.11%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5677106...856c7ea. Read the comment docs.