File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ if [ -n "${FILES}" ] ;
14
14
echo " ==============================================================================================================================="
15
15
echo " "
16
16
# clean out conditional markup
17
- sed -i -e ' s/ifdef::.*\|ifndef::.*\|ifeval::.*\|endif::.*/ /' " ${FILES} "
18
- vale " ${FILES} " --minAlertLevel=error --glob=' *.adoc' --no-exit
17
+ sed -i -e ' s/ifdef::.*\|ifndef::.*\|ifeval::.*\|endif::.*/ /' ${FILES}
18
+ vale ${FILES} --minAlertLevel=error --glob=' *.adoc' --no-exit
19
19
echo " "
20
20
if [ " $TRAVIS " = true ] ; then
21
21
set -x
@@ -27,7 +27,7 @@ if [ -n "${FILES}" ] ;
27
27
PR_DATA=' {"PR": [{"Number": "' " $1 " ' ", "SHA": "' " $2 " ' "}]' ,
28
28
fi
29
29
echo " ${PR_DATA} " > vale_errors.json
30
- ERROR_DATA=$( vale " ${FILES} " --minAlertLevel=error --glob=' *.adoc' --output=JSON --no-exit)
30
+ ERROR_DATA=$( vale ${FILES} --minAlertLevel=error --glob=' *.adoc' --output=JSON --no-exit)
31
31
echo " ${ERROR_DATA: 1} " >> vale_errors.json
32
32
LAST_LINE=$( tail -n1 vale_errors.json)
33
33
if echo " $LAST_LINE " | grep -q ' ,.$' ; then
You can’t perform that action at this time.
0 commit comments