Skip to content

Commit

Permalink
Fix Path deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach authored and MartinNowak committed Jul 27, 2018
1 parent 7a11e4f commit 91ebbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dub/project.d
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ private string getVariable(Project, Package)(string name, in Project project, in
{
import std.process : environment;
import std.uni : asUpperCase;
Path path;
NativePath path;
if (name == "PACKAGE_DIR")
path = pack.path;
else if (name == "ROOT_PACKAGE_DIR")
Expand Down

0 comments on commit 91ebbd9

Please sign in to comment.