From cb50b4a50661a844db2156e2ed02f696a8d53a7f Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 9 Sep 2021 13:01:33 +0100 Subject: [PATCH] Restore option to disable dependency check (#3235) --- src/molecule/dependency/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/molecule/dependency/shell.py b/src/molecule/dependency/shell.py index 2e8a26161..cb8e9e9c0 100644 --- a/src/molecule/dependency/shell.py +++ b/src/molecule/dependency/shell.py @@ -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()