mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
post_style_errors_on_github.sh: Fix condition that sets $CIRCLE_PR_NUMBER
This commit is contained in:
parent
66d27f1ac6
commit
cd4b667545
@ -4,10 +4,7 @@ ERROR_LOG="$1"
|
|||||||
|
|
||||||
function report_error_to_github
|
function report_error_to_github
|
||||||
{
|
{
|
||||||
if [[ $CIRCLE_PR_NUMBER != "" ]]
|
[[ $CIRCLE_PR_NUMBER != "" ]] || CIRCLE_PR_NUMBER="${CIRCLE_PULL_REQUEST//[^0-9]/}"
|
||||||
then
|
|
||||||
CIRCLE_PR_NUMBER="${CIRCLE_PULL_REQUEST//[^0-9]/}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $CI == "true" ]]
|
if [[ $CI == "true" ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user