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 <[email protected]> add misssing trim to avoid double white spaces Signed-off-by: Max Wolfs <[email protected]> * alternative solution Signed-off-by: Matthias Büchse <[email protected]> --------- Signed-off-by: Max Wolfs <[email protected]> Signed-off-by: Matthias Büchse <[email protected]> Co-authored-by: Matthias Büchse <[email protected]>
1 parent 6b15ee2 commit e80f817

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)