File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
components/supervisor-api Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
# args: [--allow-multiple-documents]
7
7
# - id: end-of-file-fixer
8
8
- id : trailing-whitespace
9
- exclude : .*/src/main/java/io/gitpod/supervisor/api/.*
10
-
11
9
- id : check-symlinks
12
10
- id : mixed-line-ending
13
11
- id : check-case-conflict
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ local_java_protoc() {
52
52
--grpc-java_out=java/src/main/java \
53
53
--java_out=java/src/main/java \
54
54
./* .proto
55
+ # remove trailing spaces
56
+ find components/supervisor-api/java/src/main/java/io/gitpod/supervisor/api -maxdepth 1 -name " *.java" -exec sed -i -e " s/[[:space:]]*$//" {} \;
55
57
# revert Java reserved keywords
56
58
sed -i ' s/private_visibility = 0;/private = 0;/g' status.proto
57
59
sed -i ' s/public_visibility = 1;/public = 1;/g' status.proto
You can’t perform that action at this time.
0 commit comments