Skip to content

Commit 4ee74a8

Browse files
committed
Trivial: Remove a leftover std.file dependency in PackageManager
1 parent 440594c commit 4ee74a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/dub/packagemanager.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,8 +1003,7 @@ symlink_exit:
10031003
enforce(found, "Cannot remove, package not found: '"~ pack.name ~"', path: " ~ to!string(pack.path));
10041004

10051005
logDebug("About to delete root folder for package '%s'.", pack.path);
1006-
import std.file : rmdirRecurse;
1007-
rmdirRecurse(pack.path.toNativeString());
1006+
this.fs.removeDir(pack.path, true);
10081007
logInfo("Removed", Color.yellow, "%s %s", pack.name.color(Mode.bold), pack.version_);
10091008
}
10101009

0 commit comments

Comments
 (0)