Skip to content

Commit 17ec6f9

Browse files
Geod24dlang-bot
authored andcommitted
Trivial: Deprecate Dub.remove(Package, bool)
The corresponding PackageManager function is long deprecated, but the Dub wrapper was not deprecated.
1 parent ec2de05 commit 17ec6f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/dub/dub.d

+1
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ class Dub {
863863
}
864864

865865
/// Compatibility overload. Use the version without a `force_remove` argument instead.
866+
deprecated("Use `remove(pack)` directly instead, the boolean has no effect")
866867
void remove(in Package pack, bool force_remove)
867868
{
868869
remove(pack);

0 commit comments

Comments
 (0)