Skip to content

Commit bf10ac6

Browse files
committed
shellcheck_run_steps: use --foo=bar syntax for melange params
Fewer lines, and clearer. Signed-off-by: dann frazier <dann.frazier@chainguard.dev>
1 parent bbcdb5a commit bf10ac6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

pre_commit_hooks/shellcheck_run_steps.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,8 @@ def main(argv: Sequence[str] | None = None) -> int:
106106
[
107107
"melange",
108108
"compile",
109-
"--arch",
110-
"x86_64",
111-
"--pipeline-dir",
112-
"./pipelines",
109+
"--arch=x86_64",
110+
"--pipeline-dir=./pipelines",
113111
filename,
114112
],
115113
stdout=compiled_out,

0 commit comments

Comments
 (0)