Skip to content

Commit

Permalink
Remove leading/trailing special chars from tag [ci fast]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Feb 8, 2023
1 parent e1a712c commit 7d3cc70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class TaskRun implements Cloneable {
try {
// -- look-up the 'sampleId' property, and if everything is fine
// cache this value in the 'name' attribute
return name = "$baseName (${config.tag})"
return name = "$baseName (${String.valueOf(config.tag).trim()})"
}
catch( IllegalStateException e ) {
log.debug "Cannot access `tag` property for task: $baseName ($index)"
Expand Down

0 comments on commit 7d3cc70

Please sign in to comment.