Skip to content

Commit 1bb22c0

Browse files
authored
fix: Remove the extra space in the log file names (#3212)
Update `_lib.sh` to remove the extra space in the log file name. This fixes the log files name not being included in `.gitinore`
1 parent 282410a commit 1bb22c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ MINIMIZE_DOWNTIME="${MINIMIZE_DOWNTIME:-}"
7676
STOP_TIMEOUT=60
7777

7878
# Save logs in order to send envelope to Sentry
79-
log_file=sentry_"$cmd"_log-$(date +'%Y-%m-%d_%H-%M-%S').txt
79+
log_file=sentry_"${cmd%% *}"_log-$(date +'%Y-%m-%d_%H-%M-%S').txt
8080
exec &> >(tee -a "$log_file")
8181
version=""
8282

0 commit comments

Comments
 (0)