Skip to content

Commit c882b3b

Browse files
committed
Remove unwanted /dev/null
1 parent a02e2d9 commit c882b3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
fi
113113
- name: Run file consistency check 1
114114
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)
116116
if [ "${status}" == "200" ]; then
117117
status=$(diff data50k.json /usr/local/nginx/html/data50k.json)
118118
if [ $? -eq 0 ]; then
@@ -127,7 +127,7 @@ jobs:
127127
fi
128128
- name: Run file consistency check 2
129129
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)
131131
if [ "${status}" == "200" ]; then
132132
status=$(diff plugged.png /usr/local/nginx/html/plugged.png)
133133
if [ $? -eq 0 ]; then

0 commit comments

Comments
 (0)