Skip to content

Commit 138a4d1

Browse files
authored
Merge pull request #27 from jonjohnsonjr/dirname-pipelines
shellcheck: Make pipeline dir relative to file
2 parents e4d1134 + 2cf0cab commit 138a4d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pre_commit_hooks/shellcheck_run_steps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def main(argv: Sequence[str] | None = None) -> int:
122122
MelangeImage,
123123
"compile",
124124
f"--arch={arch}",
125-
"--pipeline-dir=./pipelines",
125+
f"--pipeline-dir=./{os.path.dirname(filename)}/pipelines",
126126
filename,
127127
],
128128
stdout=compiled_out,

0 commit comments

Comments
 (0)