Skip to content

Commit

Permalink
Restore option to disable dependency check (#3235)
Browse files Browse the repository at this point in the history
(cherry picked from commit cb50b4a)
  • Loading branch information
ssbarnea authored and Patchback committed Oct 2, 2021
1 parent 8eb053a commit 918c1e0
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 918c1e0

Please sign in to comment.