Skip to content

Commit ba0245a

Browse files
committed
Switch from Wattsi-Exit-Code to Exit-Code
Follows whatwg/build.whatwg.org#87.
1 parent 03c8bb2 commit ba0245a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -675,11 +675,11 @@ function runWattsi {
675675
fi
676676
curl "${CURL_ARGS[@]}"
677677

678-
# read exit code from the Wattsi-Exit-Code header and assume failure if not found
678+
# read exit code from the Exit-Code header and assume failure if not found
679679
WATTSI_RESULT=1
680680
while IFS=":" read -r NAME VALUE; do
681681
shopt -s nocasematch
682-
if [[ $NAME == "Wattsi-Exit-Code" ]]; then
682+
if [[ $NAME == "Exit-Code" ]]; then
683683
WATTSI_RESULT=$(echo "$VALUE" | tr -d ' \r\n')
684684
break
685685
fi

0 commit comments

Comments
 (0)