Skip to content

Commit 674c2f2

Browse files
committed
fix: extraction of token
1 parent 9ad1f00 commit 674c2f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/runtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ handle_subdir () {
177177
# Get the token from the docker logs
178178
token=$(docker logs "$SERVERID" | \
179179
grep -A 1 -e 'teacher token.*:' | tail -n 1 | \
180-
sed -e 's/^.*[:-] //')
180+
sed -e 's/^.*[:-] //' | tr -d '[:space:]')
181181

182182
if [ -z "$token" ]; then
183183
red "Failed to get teacher token"

0 commit comments

Comments
 (0)