Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e98c47c

Browse files
committed
chore: assert there is always a tag
1 parent 1d7baaf commit e98c47c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async function main () {
9898
const allTags = tagsInput
9999
.split(',')
100100
.map(tag => tag.trim())
101-
.filter(Boolean)
101+
.filter(Boolean) as [string, ...string[]]
102102

103103
console.info(`🚀 ${isNightly ? 'Nightly' : 'Regular'} release with tags: ${allTags.join(', ')}`)
104104

0 commit comments

Comments
 (0)