Skip to content

Commit 6058236

Browse files
BrunoQuaresmakylecarbs
authored andcommitted
fix: Replace yes by true and add set -x (#1914)
1 parent b2796a9 commit 6058236

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/develop.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
22

33
set -euo pipefail
4+
set -x
45

56
SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
67
PROJECT_ROOT=$(cd "$SCRIPT_DIR" && git rev-parse --show-toplevel)
@@ -28,6 +29,6 @@ export CODER_DEV_ADMIN_PASSWORD=password
2829
# Just a minor sleep to ensure the first user was created to make the member.
2930
sleep 2
3031
# || yes to always exit code 0. If this fails, whelp.
31-
go run cmd/coder/main.go users create --email=member@coder.com --username=member --password="${CODER_DEV_ADMIN_PASSWORD}" || yes
32+
go run cmd/coder/main.go users create --email=member@coder.com --username=member --password="${CODER_DEV_ADMIN_PASSWORD}" || true
3233
wait
3334
)

0 commit comments

Comments
 (0)