Skip to content

Commit

Permalink
Trivial: Make PackageManager.addPackages protected
Browse files Browse the repository at this point in the history
So that it can be reused in the TestPackageManager.
  • Loading branch information
Geod24 authored and PetarKirov committed Jan 15, 2024
1 parent f09eca3 commit 53cf76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dub/packagemanager.d
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ symlink_exit:
}

/// Adds the package and scans for sub-packages.
private void addPackages(ref Package[] dst_repos, Package pack)
protected void addPackages(ref Package[] dst_repos, Package pack)
{
// Add the main package.
dst_repos ~= pack;
Expand Down

0 comments on commit 53cf76e

Please sign in to comment.