Trim try-job names
This commit is contained in:
parent
8ccaf48fcd
commit
f35c88043b
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ impl GitHubContext {
|
|||
if let Some(ref msg) = self.commit_message {
|
||||
msg.lines()
|
||||
.filter_map(|line| line.trim().strip_prefix("try-job: "))
|
||||
.map(|l| l.to_string())
|
||||
.map(|l| l.trim().to_string())
|
||||
.collect()
|
||||
} else {
|
||||
vec![]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue