Skip to content

Commit

Permalink
Restore option to disable dependency check (#3235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Sep 9, 2021
1 parent 5e717ce commit cb50b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/molecule/dependency/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ def bake(self) -> None:
self._sh_command = BakedCommand(cmd=self.command, env=self.env)

def execute(self):
super().execute()
if not self.enabled:
msg = "Skipping, dependency is disabled."
LOG.warning(msg)
return
super().execute()

if self._sh_command is None:
self.bake()
Expand Down

0 comments on commit cb50b4a

Please sign in to comment.