Skip to content

Commit

Permalink
Fix inconsistent indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cameel committed Feb 1, 2021
1 parent c7d1e19 commit 6d44055
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions scripts/chk_shellscripts/chk_shellscripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ find . -type f -name "*.sh" | sort >"${FOUND_FILES_TMP}"

SHELLCHECK=${SHELLCHECK:-"$(command -v -- shellcheck)"}
if [ ! -f "${SHELLCHECK}" ]; then
echo "error: shellcheck '${SHELLCHECK}' not found."
exit 1
echo "error: shellcheck '${SHELLCHECK}' not found."
exit 1
fi

FILES=$(join -v2 "${IGNORE_FILES_TMP}" "${FOUND_FILES_TMP}")
Expand Down
8 changes: 4 additions & 4 deletions scripts/ci/build_emscripten.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ fi
mkdir -p $BUILD_DIR
cd $BUILD_DIR
emcmake cmake \
-DCMAKE_BUILD_TYPE=Release \
-DBoost_USE_STATIC_LIBS=1 \
-DBoost_USE_STATIC_RUNTIME=1 \
-DTESTS=0 \
-DCMAKE_BUILD_TYPE=Release \
-DBoost_USE_STATIC_LIBS=1 \
-DBoost_USE_STATIC_RUNTIME=1 \
-DTESTS=0 \
..
make soljson
# Patch soljson.js for backwards compatibility.
Expand Down
4 changes: 2 additions & 2 deletions scripts/soltest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ do
BOOST_OPTIONS="${BOOST_OPTIONS} $1"
;;
--help)
usage
usage
exit 0
;;
--run_test | -t )
Expand All @@ -64,4 +64,4 @@ if [ "$USE_DEBUGGER" -ne "0" ]; then
DEBUG_PREFIX=${DEBUGGER}
fi

exec ${DEBUG_PREFIX} ${SOLIDITY_BUILD_DIR}/test/soltest ${BOOST_OPTIONS} -- --testpath ${REPO_ROOT}/test ${SOLTEST_OPTIONS}
exec "${DEBUG_PREFIX}" "${SOLIDITY_BUILD_DIR}/test/soltest" ${BOOST_OPTIONS} -- --testpath "${REPO_ROOT}/test" ${SOLTEST_OPTIONS}
8 changes: 4 additions & 4 deletions scripts/uniqueErrors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ echo "Finding unique failures..."
(
for x in $*
do
echo -n $x " # "
# This subshell is a workaround to prevent the shell from printing
# "Aborted"
("$REPO"/build/test/tools/solfuzzer < "$x" || true) 2>&1 | head -n 1
echo -n $x " # "
# This subshell is a workaround to prevent the shell from printing
# "Aborted"
("$REPO"/build/test/tools/solfuzzer < "$x" || true) 2>&1 | head -n 1
done
) | sort -u -t'#' -k 2
4 changes: 2 additions & 2 deletions scripts/wasm-rebuild/docker-scripts/genbytecode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ for (var optimize of [false, true])
}
} catch (e) {
console.log(filename + ': FATAL ERROR')
console.error(filename)
console.error(inputs)
console.error(filename)
console.error(inputs)
}
}
}
Expand Down

0 comments on commit 6d44055

Please sign in to comment.