Skip to content

Commit

Permalink
[wrong] remove redundant logging, code formatting
Browse files Browse the repository at this point in the history
wrong: this commit contains intentional issues or reserved a bug from previous commits intentionally in order to test the ci
  • Loading branch information
grqz authored Sep 15, 2024
1 parent 37eebb5 commit 5b4dfa5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
script_response=$(./yt-dlp -vF --print-traffic BaW_jenozKc --extractor-args "youtube:getpot_bgutil_script=server/build/generate_once.js" 2>&1) || echo "::error title=Failed to run yt-dlp when testing script::yt-dlp returned $? exit status"
echo $script_response
if [[ "$script_response" != *"BgUtilScriptPot: Generating POT via script"* ]]; then
echo "BgUtilScriptPot was not invoked"
echo "::error title=BgUtilScriptPot was not invoked,file=plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py::BgUtilScriptPot was not invoked"
exit 1
fi
Expand All @@ -67,11 +66,10 @@ jobs:
until RESP=$(curl -o- --silent --fail http://127.0.0.1:4416/ping 2>&1); do
sleep 0.5
done
echo $RESP|jq
echo $RESP | jq
script_response=$(./yt-dlp -vF --print-traffic BaW_jenozKc 2>&1) || echo "::error title=Failed to run yt-dlp when testing HTTP server::yt-dlp returned $? exit status"
echo $script_response
if [[ "$script_response" != *"BgUtilHTTPPot: Generating POT via HTTP server"* ]]; then
echo "BgUtilHTTPPot was not invoked"
echo "::error title=BgUtilHTTPPot was not invoked,file=plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py::BgUtilHTTPPot was not invoked"
exit 1
fi

0 comments on commit 5b4dfa5

Please sign in to comment.