File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112
112
fi
113
113
- name : Run file consistency check 1
114
114
run : |
115
- status=$(curl -sS /dev/null -w %{http_code} -I -X GET -H "Host: localhost" "http://localhost/data50k.json" --output data50k.json)
115
+ status=$(curl -sS -w %{http_code} -I -X GET -H "Host: localhost" "http://localhost/data50k.json" --output data50k.json)
116
116
if [ "${status}" == "200" ]; then
117
117
status=$(diff data50k.json /usr/local/nginx/html/data50k.json)
118
118
if [ $? -eq 0 ]; then
@@ -127,7 +127,7 @@ jobs:
127
127
fi
128
128
- name : Run file consistency check 2
129
129
run : |
130
- status=$(curl -sS /dev/null -w %{http_code} -I -X GET -H "Host: localhost" "http://localhost/plugged.png" --output plugged.png)
130
+ status=$(curl -sS -w %{http_code} -I -X GET -H "Host: localhost" "http://localhost/plugged.png" --output plugged.png)
131
131
if [ "${status}" == "200" ]; then
132
132
status=$(diff plugged.png /usr/local/nginx/html/plugged.png)
133
133
if [ $? -eq 0 ]; then
You can’t perform that action at this time.
0 commit comments