Skip to content

Commit

Permalink
syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcp-coinbase committed Sep 18, 2024
1 parent 6655f43 commit c93ad88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/slither-action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version_lte() {
}

install_solc() {
if [[! -f "$(which solc-select)" ]]; then
if [[ ! -f "$(which solc-select)" ]]; then
pip3 install solc-select # Install solc-select if not installed
fi
# Check if SOLCVER is not set
Expand Down Expand Up @@ -240,7 +240,7 @@ fi


################## Generate scoping file to /tmp/scope.txt (arg 2, part 2) ##################
if [! -f "$CONTRACTSPWD/scope.txt" ]; then # We are already in $CONTRACTSPWD
if [ ! -f "$CONTRACTSPWD/scope.txt" ]; then # We are already in $CONTRACTSPWD
find .| grep $PROJECTSCOPE | grep sol | grep -v typechain | grep -v node_modules | grep -v artifacts | grep -v "\.t\.sol">/tmp/scope.txt
else
cp $CONTRACTSPWD/scope.txt /tmp/scope.txt
Expand Down

0 comments on commit c93ad88

Please sign in to comment.