File tree 1 file changed +15
-15
lines changed
1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -40,20 +40,20 @@ cd "$CHIP_ROOT"
40
40
41
41
restyle-paths () {
42
42
image=restyled/restyler:edge
43
- (
44
- docker run \
45
- --env LOG_LEVEL \
46
- --env LOG_DESTINATION \
47
- --env LOG_FORMAT \
48
- --env LOG_COLOR \
49
- --env HOST_DIRECTORY=" $PWD " \
50
- --env UNRESTRICTED=1 \
51
- --volume " $PWD " :/code \
52
- --volume /tmp:/tmp \
53
- --volume /var/run/docker.sock:/var/run/docker.sock \
54
- --entrypoint restyle-path \
55
- " $image " " $@ "
56
- )
43
+
44
+ docker run \
45
+ --env LOG_LEVEL \
46
+ --env LOG_DESTINATION \
47
+ --env LOG_FORMAT \
48
+ --env LOG_COLOR \
49
+ --env HOST_DIRECTORY=" $PWD " \
50
+ --env UNRESTRICTED=1 \
51
+ --volume " $PWD " :/code \
52
+ --volume /tmp:/tmp \
53
+ --volume /var/run/docker.sock:/var/run/docker.sock \
54
+ --entrypoint restyle-path \
55
+ " $image " " $@ "
56
+
57
57
}
58
58
59
59
# This was added to be able to use xargs to call the function restyle-paths
87
87
88
88
paths=$( git diff --ignore-submodules --name-only --merge-base " $ref " )
89
89
90
- echo " $paths " | xargs -n $MAX_ARGS bash -c ' restyle-paths "$@"'
90
+ echo " $paths " | xargs -n " $MAX_ARGS " bash -c ' restyle-paths "$@"'
You can’t perform that action at this time.
0 commit comments