From 66346dcb72474e77cb0b24eb0706749c8b3693c2 Mon Sep 17 00:00:00 2001 From: luto Date: Wed, 12 Jun 2024 17:06:59 +0200 Subject: [PATCH] fix tests/e2e/100_local.ispec --- src/shellinspector/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shellinspector/parser.py b/src/shellinspector/parser.py index 0974a33..a609e38 100644 --- a/src/shellinspector/parser.py +++ b/src/shellinspector/parser.py @@ -295,7 +295,7 @@ def parse(path: str, lines: list[str]) -> Specfile: ) ) - if not user and execution_mode == ExecutionMode.USER: + if not user and execution_mode == ExecutionMode.USER and host != "local": specfile.errors.append( Error( path,