Skip to content

Commit

Permalink
move skip_import reset
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanBaker committed Jan 6, 2023
1 parent e8a54ec commit 03e4b26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spectacles/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def __call__(self, ref: Optional[str] = None, ephemeral: Optional[bool] = None):

self.is_temp_branch = False
self.import_managers = []
self.skip_imports = []
return self

async def __aenter__(self):
Expand Down Expand Up @@ -196,8 +197,6 @@ async def __aexit__(self, *args):
for manager in self.import_managers:
await manager.__aexit__()

self.skip_imports = []

if self.init_state.workspace == "production":
await self.update_workspace("production")
else:
Expand Down

0 comments on commit 03e4b26

Please sign in to comment.