Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Jul 24, 2022
1 parent 2941455 commit 890efcc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/create-release-from-tags/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ const extractPartsFromTag = (rawTag: string): Tag | undefined => {
}
}

/**
*
* @param rawTags - string delimited list of tags (e.g. `@segment/[email protected] @segment/[email protected]`)
*/
export const parseRawTags = (rawTags: string): Tag[] => {
return rawTags.trim().split(' ').map(extractPartsFromTag).filter(exists)
}
Expand Down

0 comments on commit 890efcc

Please sign in to comment.