Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e0eeebc

Browse filesBrowse files
marco-ippolitotargos
authored andcommitted
tools: set normalizeTD text default to empty string
PR-URL: #51543 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
1 parent 4ddb9b3 commit e0eeebc
Copy full SHA for e0eeebc

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎tools/dep_updaters/update-root-certs.mjs‎

Copy file name to clipboardExpand all lines: tools/dep_updaters/update-root-certs.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const getCertdataURL = (version) => {
2828
return certdataURL;
2929
};
3030

31-
const normalizeTD = (text) => {
31+
const normalizeTD = (text = '') => {
3232
// Remove whitespace and any HTML tags.
3333
return text?.trim().replace(/<.*?>/g, '');
3434
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.