Skip to content

Commit

Permalink
Trivial: Remove a leftover std.file dependency in PackageManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Jun 25, 2024
1 parent d840503 commit 0558c21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/dub/packagemanager.d
Original file line number Diff line number Diff line change
Expand Up @@ -1003,8 +1003,7 @@ symlink_exit:
enforce(found, "Cannot remove, package not found: '"~ pack.name ~"', path: " ~ to!string(pack.path));

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

Expand Down

0 comments on commit 0558c21

Please sign in to comment.