mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
fix clean-cargo-cache command (#33408)
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
This commit is contained in:
parent
23b0dc603c
commit
68246df89e
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ class MachCommands(CommandBase):
|
|||
git_db_dir = path.join(git_dir, "db")
|
||||
git_checkout_dir = path.join(git_dir, "checkouts")
|
||||
if os.path.isdir(git_db_dir):
|
||||
git_db_list = filter(lambda f: not f.startswith('.'), os.listdir(git_db_dir))
|
||||
git_db_list = list(filter(lambda f: not f.startswith('.'), os.listdir(git_db_dir)))
|
||||
else:
|
||||
git_db_list = []
|
||||
if os.path.isdir(git_checkout_dir):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue