Skip to content

Commit

Permalink
Tentatively fix similar issue for SCM deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Oct 31, 2024
1 parent 6d54e20 commit cef47ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/dub/project.d
Original file line number Diff line number Diff line change
Expand Up @@ -582,10 +582,10 @@ class Project {
{
if (!vspec.repository.empty) {
p = m_packageManager.loadSCMPackage(basename, vspec.repository);
resolveSubPackage(p, subname, false);
enforce(p !is null,
"Unable to fetch '%s@%s' using git - does the repository and version exists?".format(
dep.name, vspec.repository));
"Unable to fetch '%s@%s' using git - does the repository and version exist?".format(
basename, vspec.repository));
p = resolveSubPackage(p, subname, false);
} else if (!vspec.path.empty && is_desired) {
NativePath path = vspec.path;
if (!path.absolute) path = pack.path ~ path;
Expand Down

0 comments on commit cef47ae

Please sign in to comment.