chore: add logname to keep command output
@@ -218,8 +218,12 @@ preCommitSteps.addStep(
mode='full',
method='copy'))
preCommitSteps.addStep(
- steps.ShellSequence(commands=[
- util.ShellArg(command=[
+ steps.ShellSequence(
+ name='pre-commit',
+ commands=[
+ util.ShellArg(
+ logname='pre-commit',
+ command=[
'pre-commit',
'run',
'--hook-stage',
@@ -229,7 +233,9 @@ preCommitSteps.addStep(
'--to-ref',
'HEAD',
]),
- util.ShellArg(command=[
+ util.ShellArg(
+ logname='diff',
+ command=[
# If any of the formatters modified local files, output the diff.
'git',
'diff',
