Skip to content

Commit 3fe2728

Browse files
Aaron SoellingerAaron Soellinger
authored andcommitted
fixed bug on if statement syntax
1 parent b9a5519 commit 3fe2728

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Run this script test.sh from project root directory containing setup.py
44
pr_branch=$1
55
if ["${pr_branch}" == "false"]:
6+
then
67
exit 0
8+
fi
9+
710
pip3 install .
811
git checkout ${pr_branch}
912
pr_version=$(python3 -c "import mplfinance; print(mplfinance.__version__)")
@@ -13,6 +16,7 @@ echo "PR: ${pr_version}; Incumbent: ${in_version}"
1316
result=$(python3 -m mplfinance.check_version --pr ${pr_version} --in ${in_version})
1417
tox
1518
if ["${result}" != "VersionCheck:pr>master"]
19+
then
1620
# version in PR doesn't pass the test
1721
echo "${result}"
1822
exit 1

0 commit comments

Comments
 (0)