Merge pull request #14536 from ethereum/fix-type-inference-shellcheck

Fix type inference shellcheck
This commit is contained in:
Daniel 2023-09-05 15:05:34 +02:00 committed by GitHub
commit 9b9ac7f607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,10 +214,8 @@ EXCLUDE_FILES=(
boost_filesystem_bug.sol
pragma_experimental_solidity.sol
)
IMPORT_TEST_FILES=$(find "${TEST_DIRS[@]}" -name "*.sol" -and $(printf "! -name %s " ${EXCLUDE_FILES[@]}) -not -path "*/experimental/*")
echo $IMPORT_TEST_FILES
exit
EXCLUDE_FILES_JOINED=$(printf "! -name %s " "${EXCLUDE_FILES[@]}")
IMPORT_TEST_FILES=$(find "${TEST_DIRS[@]}" -name "*.sol" -and $EXCLUDE_FILES_JOINED -not -path "*/experimental/*")
NSOURCES="$(echo "${IMPORT_TEST_FILES}" | wc -l)"
echo "Looking at ${NSOURCES} .sol files..."