Skip to content

Commit 14cab0c

Browse files
committed
trim whitespace before merging messages
1 parent 249e4f9 commit 14cab0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/summarize_result.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ summarize_result = function(result, n_errors, n_warnings,
1313
cond_msgs$errors = cond_msgs$errors[order(as.integer(names(cond_msgs$errors)))]
1414
cond_msgs$warnings = cond_msgs$warnings[order(as.integer(names(cond_msgs$warnings)))]
1515
cond_msgs = utils::head(c(cond_msgs$errors, cond_msgs$warnings), 50)
16-
detail = paste(unlist(cond_msgs), collapse="\n")
16+
detail = paste(trimws(unlist(cond_msgs)), collapse="\n")
1717

1818
if (n_errors > 0) {
1919
msg = sprintf("%i/%i jobs failed (%i warnings)", n_errors, at, n_warnings)

0 commit comments

Comments
 (0)