Skip to content

Commit e80f817

Browse files
maxwolfsmbuechse
andauthored
Fix Linting Errors (#214)
* add misssing trim to avoid double white spaces Signed-off-by: Max Wolfs <mail@maxwolfs.com> add misssing trim to avoid double white spaces Signed-off-by: Max Wolfs <mail@maxwolfs.com> * alternative solution Signed-off-by: Matthias Büchse <matthias.buechse@cloudandheat.com> --------- Signed-off-by: Max Wolfs <mail@maxwolfs.com> Signed-off-by: Matthias Büchse <matthias.buechse@cloudandheat.com> Co-authored-by: Matthias Büchse <matthias.buechse@cloudandheat.com>
1 parent 6b15ee2 commit e80f817

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

populateStds.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ ${headerLegend}
199199
).join(' | ')
200200
if (title.startsWith(ref.title)) {
201201
title = title.substring(ref.title.length)
202-
if (title.startsWith(':')) title = title.substring(1).trimStart()
202+
if (title.startsWith(':')) title = title.substring(1)
203+
title = title.trimStart()
203204
}
204205
lines.push(`| | | Supplement: ${title} | ${versionList} |`)
205206
tlines.push(`| | Supplement: ${title} | ${versionList} |`)

0 commit comments

Comments
 (0)