fix: remove unnecessary if
All checks were successful
build / build (pull_request) Successful in 2m27s
build / build (push) Successful in 2m29s

This commit is contained in:
李衍志523370910113 2025-03-03 12:51:26 +08:00
parent b7b7a93677
commit 2c4d7cede7

View File

@ -65,8 +65,7 @@ def get_executor_with(task_stage: task.Stage, cached: Set[str]) -> result.Execut
cases=[],
)
for file in file_export:
if file not in cached:
cached.add(file)
cached.add(file)
return executor_with_config