Skip to content

Commit

Permalink
Update ProtoStruct.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Eben60 <[email protected]>
  • Loading branch information
Tortar and Eben60 authored Feb 19, 2024
1 parent ec4d645 commit 5bd48de
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ProtoStruct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ function checkrev()
revise_pkgid in keys(Base.loaded_modules) || return false
d = @__DIR__
f = splitpath(@__FILE__)[end]

watched_files = getproperty(Base.loaded_modules[revise_pkgid], :watched_files)
d in keys(watched_files) || return false

trackedfiles = watched_files[d].trackedfiles
return f in keys(trackedfiles)

Check warning on line 12 in src/ProtoStruct.jl

View check run for this annotation

Codecov / codecov/patch

src/ProtoStruct.jl#L7-L12

Added lines #L7 - L12 were not covered by tests
end
Expand Down

0 comments on commit 5bd48de

Please sign in to comment.