Pass mypy on loop_claude
This commit is contained in:
@@ -27,5 +27,5 @@ def replace_file(path, data) -> Failure | None:
|
||||
except OSError as failure:
|
||||
if os.path.exists(staged):
|
||||
os.remove(staged)
|
||||
return Failure(failure.strerror)
|
||||
return Failure(failure.strerror or str(failure))
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user