Skip to content

Commit fa1386c

Browse files
jdaltonclaude
andcommitted
Fix JSDoc comment formatting in UrlConverter methods
Split multi-line comments properly to fix asterisk merge issue where "package's*" appeared on single lines. Improves readability of method documentation for toRepositoryUrl and toDownloadUrl. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 01a58c0 commit fa1386c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/url-converter.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ export class UrlConverter {
6969
/**
7070
* Convert a PackageURL to a repository URL if possible.
7171
*
72-
* This method attempts to generate a repository URL where the package's* source code can be found. Different package types use different URL
72+
* This method attempts to generate a repository URL where the package's
73+
* source code can be found. Different package types use different URL
7374
* patterns and repository hosting services.
7475
*/
7576
static toRepositoryUrl(purl: PackageURL): RepositoryUrl | null {
@@ -185,7 +186,8 @@ export class UrlConverter {
185186
/**
186187
* Convert a PackageURL to a download URL if possible.
187188
*
188-
* This method attempts to generate a download URL where the package's* artifact (binary, archive, etc.) can be obtained. Requires a version
189+
* This method attempts to generate a download URL where the package's
190+
* artifact (binary, archive, etc.) can be obtained. Requires a version
189191
* to be present in the PackageURL.
190192
*/
191193
static toDownloadUrl(purl: PackageURL): DownloadUrl | null {

0 commit comments

Comments
 (0)