Skip to content

Commit

Permalink
Update pkg_processing.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
pevnak authored Dec 8, 2023
1 parent 24adb9f commit e90e400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/lecture_10/pkg_processing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Returns root folders of all installed packages in the system. Package version is
function sample_all_installed_pkgs(path::AbstractString)
pkgs = readdir(path)
# [rand(readdir(joinpath(path, p), join=true)) for p in pkgs] # sampling version
[readdir(joinpath(path, p), join=true)[1] for p in pkgs if isdir(p)] # deterministic version
[readdir(joinpath(path, p), join=true)[1] for p in pkgs if isdir(joinpath(path, p))] # deterministic version
end

"""
Expand Down

0 comments on commit e90e400

Please sign in to comment.