Skip to content

Commit c09687f

Browse files
committed
fix pip uninstall error
1 parent 28067bd commit c09687f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pef.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ def cli(packages, yes):
119119
cmd = [sys.executable, '-m', 'pip', 'uninstall']
120120
if yes:
121121
cmd.append('-y')
122+
cmd.extend(list(set(prune)))
122123
subprocess.check_call(cmd)
123124

124125

0 commit comments

Comments
 (0)