From 0b74d96f5ddc2d049144639021cf4dbd87da7934 Mon Sep 17 00:00:00 2001 From: Amy Galles <9685081+AmyLGalles@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:22:31 -0800 Subject: [PATCH] works but wonky --- src/bitwarden_workflow_linter/rules/run_actionlint.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bitwarden_workflow_linter/rules/run_actionlint.py b/src/bitwarden_workflow_linter/rules/run_actionlint.py index d486257..e723070 100644 --- a/src/bitwarden_workflow_linter/rules/run_actionlint.py +++ b/src/bitwarden_workflow_linter/rules/run_actionlint.py @@ -85,6 +85,7 @@ def fn(self, obj: Workflow) -> Tuple[bool, str]: raise NotImplementedError("Running actionlint without a filename is not currently supported") installed, install_error, location = check_actionlint() if installed: + result = None if location: result = subprocess.run( [location + "/actionlint", obj.filename],