Skip to content

Commit 6ee9481

Browse files
committed
Fix diff exec
1 parent 25a7c6a commit 6ee9481

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
@@ -114,7 +114,7 @@ jobs:
114114
run: |
115115
curl -sS "http://localhost/data50k.json" --output data50k.json
116116
if [ -f data50k.json ]; then
117-
status=$(diff data50k.json /usr/local/nginx/html/data50k.json)
117+
diff data50k.json /usr/local/nginx/html/data50k.json > /dev/null
118118
if [ $? -eq 0 ]; then
119119
echo "OK"
120120
else
@@ -129,7 +129,7 @@ jobs:
129129
run: |
130130
curl -sS "http://localhost/plugged.png" --output plugged.png
131131
if [ -f plugged.png ]; then
132-
status=$(diff plugged.png /usr/local/nginx/html/plugged.png)
132+
diff plugged.png /usr/local/nginx/html/plugged.png > /dev/null
133133
if [ $? -eq 0 ]; then
134134
echo "OK"
135135
else

0 commit comments

Comments
 (0)