We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf32bca commit e03541cCopy full SHA for e03541c
1 file changed
pre_commit_hooks/shellcheck_run_steps.py
@@ -49,6 +49,8 @@ def do_shellcheck(
49
),
50
51
)
52
+ if len(all_steps) == 0:
53
+ return
54
for step, shfile in all_steps:
55
shfile.write(step["runs"])
56
shfile.close()
0 commit comments