Skip to content

Commit

Permalink
Use async with because .filesystem_access() is async
Browse files Browse the repository at this point in the history
  • Loading branch information
Klee Dienes committed Jan 25, 2025
1 parent 6880565 commit ecda4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carthage/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def filesystem_access(self, user=None):
if user is None:
user = self.runas_user
if user != os.environ['USER']:
with super().filesystem_access(user=user) as path:
async with super().filesystem_access(user=user) as path:
yield path
return

Expand Down

0 comments on commit ecda4b7

Please sign in to comment.