Skip to content

Commit

Permalink
fix tests/e2e/100_local.ispec
Browse files Browse the repository at this point in the history
  • Loading branch information
luto committed Jun 12, 2024
1 parent 8a85b78 commit 66346dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shellinspector/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 66346dc

Please sign in to comment.