diff --git a/src/packagedef.jl b/src/packagedef.jl index 9d942ccd..b9dd5984 100644 --- a/src/packagedef.jl +++ b/src/packagedef.jl @@ -751,7 +751,7 @@ otherwise these are only logged. """ function revise(; throw=false) sleep(0.01) # in case the file system isn't quite done writing out the new files - @lock revise_lock begin + lock(revise_lock) do have_queue_errors = !isempty(queue_errors) # Do all the deletion first. This ensures that a method that moved from one file to another @@ -850,7 +850,7 @@ function revise(; throw=false) nothing end -revise(backend::REPL.REPLBackend) = revise() +revise(::REPL.REPLBackend; kwargs...) = revise(; kwargs...) """ revise(mod::Module)