Only remove files from the current builder
@@ -1325,8 +1325,7 @@ def clean_build_task(version_id):
os.path.join(version.project.doc_path, dir_, version.slug)
for dir_ in ('checkouts', 'envs', 'conda')
]
- for del_dir in del_dirs:
- broadcast(type='build', task=remove_dirs, args=[(del_dir,)])
+ remove_dirs(del_dirs)
def _manage_imported_files(version, path, commit):
