From e6f3ff969995ad51cc7289208c74ae5eaca3203b Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 9 Sep 2021 12:47:30 +0100 Subject: [PATCH] Restore option to disable dependency check Fixes: #3234 --- 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 2e8a261618..cb8e9e9c0d 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()