File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
eng/pipelines/templates/steps Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 78
78
displayName : ' Copyright Header Check'
79
79
failOnStderr : true
80
80
condition : succeededOrFailed()
81
- - script : gofmt -s -l -w $(find . -path ./vendor -prune -o -name '*.go' -print) >&2
81
+ - script : gofmt -s -l -d $(find . -path ./vendor -prune -o -name '*.go' -print) >&2
82
82
workingDirectory : ' $(sdkPath)'
83
83
displayName : ' Format Check'
84
84
failOnStderr : true
Original file line number Diff line number Diff line change 40
40
41
41
- script : |
42
42
echo check source file formatting in $(pwd)
43
- gofmt -s -l -w $(find . -name '*.go' -print) >&2
43
+ gofmt -s -l -d $(find . -name '*.go' -print) >&2
44
44
displayName: 'Format Check'
45
45
condition: succeededOrFailed()
46
46
failOnStderr: true
You can’t perform that action at this time.
0 commit comments