Skip to content

Commit 2b7ae0b

Browse files
committed
add editorconfig for sfmt
1 parent 9b1f844 commit 2b7ae0b

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[*.sh]
2+
# -i=4 / --ident 4
3+
indent_style = space
4+
indent_size = 4
5+
6+
# -s / --simplify
7+
simplify = true
8+
# -bn / --binary-next-line
9+
binary_next_line = true
10+
# -cn / --case-indent
11+
switch_case_indent = true
12+
# -sr / --space-redirects
13+
space_redirects = true
14+
# -kp / --keep-padding
15+
keep_padding = true

integration-test/start_server.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ WORKSPACE_ROOT="$(pwd)"
4545
set +e
4646
AMAZON_LINUX_2=$(grep 'Amazon Linux 2"' /etc/os-release)
4747
set -e
48-
if [[ -n "${AMAZON_LINUX_2}" ]]; then
48+
if [[ -n ${AMAZON_LINUX_2} ]]; then
4949
DOCKER_COMPOSE="docker-compose" # use docker-compose v1 for Jenkins AWS Linux 2
5050
else
5151
DOCKER_COMPOSE="docker compose"
@@ -62,7 +62,7 @@ set +x # Stop outputting all executed shell commands
6262
set -e # Abort on errors
6363

6464
# use dockerhub if no registry is specified, allows for pre-release images from alternative registries
65-
if [[ ! "${COUCHBASE_DOCKER_IMAGE_NAME}" =~ ghcr.io/* && "${DOCKERHUB:-}" != "false" ]]; then
65+
if [[ ! ${COUCHBASE_DOCKER_IMAGE_NAME} =~ ghcr.io/* && ${DOCKERHUB:-} != "false" ]]; then
6666
COUCHBASE_DOCKER_IMAGE_NAME="couchbase/server:${COUCHBASE_DOCKER_IMAGE_NAME}"
6767
fi
6868

0 commit comments

Comments
 (0)