Closed tuhinsharma121 closed 3 weeks ago
I see the problem is here
if [[ -v 1 ]]; then
CHECK=$1
else
# script will fail if it uses an unset variable (i.e. $1 is not provided)
CHECK=""
fi
If I change the above to the following then it works fine
if [ -v "$1" ]; then
CHECK="$1"
else
# script will fail if it uses an unset variable (i.e. $1 is not provided)
CHECK=""
fi
Let me know if I should create a PR for this.
take
alright. Apparently upgrading bash to the latest version resolved the issue.
brew install bash
Pandas version checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of pandas.
[X] I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
results in the following error
Expected Behavior
It should run all the checks.
Installed Versions