mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
Avoid trailing whitespaces
caused by empty lines in the javadoc like documentation
This commit is contained in:
parent
5ca2f1530e
commit
66b79947ed
@ -175,8 +175,8 @@ class Helper {
|
|||||||
def _docu = [], _value = []
|
def _docu = [], _value = []
|
||||||
docuLines.each { _docu << it }
|
docuLines.each { _docu << it }
|
||||||
valueLines.each { _value << it}
|
valueLines.each { _value << it}
|
||||||
step.parameters[param].docu = _docu*.trim().join(' ')
|
step.parameters[param].docu = _docu*.trim().join(' ').trim()
|
||||||
step.parameters[param].value = _value*.trim().join(' ')
|
step.parameters[param].value = _value*.trim().join(' ').trim()
|
||||||
}
|
}
|
||||||
docuLines.clear()
|
docuLines.clear()
|
||||||
valueLines.clear()
|
valueLines.clear()
|
||||||
|
Loading…
Reference in New Issue
Block a user