Skip to content

Commit 2f496e2

Browse files
committed
Format bash script
1 parent 817cca7 commit 2f496e2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/scripts/run/ci.sh

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
set -eu
66

7-
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
7+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
88
TEST_FRAMEWORK_ROOT="$SCRIPT_DIR/../.."
99
TEST_DIR="$TEST_FRAMEWORK_ROOT"
1010

@@ -38,24 +38,22 @@ if [[ -z "${ACCOUNT_TOKENS+x}" ]]; then
3838
echo "'ACCOUNT_TOKENS' must be specified" 1>&2
3939
exit 1
4040
fi
41-
if ! readarray -t tokens < "${ACCOUNT_TOKENS}"; then
41+
if ! readarray -t tokens <"${ACCOUNT_TOKENS}"; then
4242
echo "Specify account numbers in 'ACCOUNT_TOKENS' file" 1>&2
4343
exit 1
4444
fi
4545

4646
# TODO: Can we get rid of this? Seemse excessive / leaves a trail
4747
CI_LOGS_DIR="$TEST_DIR/.ci-logs"
4848
mkdir -p "$CI_LOGS_DIR"
49-
echo "$CURRENT_VERSION" > "$CI_LOGS_DIR/last-version.log"
50-
49+
echo "$CURRENT_VERSION" >"$CI_LOGS_DIR/last-version.log"
5150

5251
# TODO: This should def be it's own step in the GitHub actions workflow
5352

5453
echo "**********************************"
5554
echo "* Downloading app packages"
5655
echo "**********************************"
5756

58-
5957
nice_time download_app_package "$LATEST_STABLE_RELEASE" "$TEST_OS"
6058
nice_time download_app_package "$CURRENT_VERSION" "$TEST_OS"
6159
nice_time download_e2e_executable "$CURRENT_VERSION" "$TEST_OS"

0 commit comments

Comments
 (0)