Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit b7f6c54

Browse files
committed
chore: fix release script type
1 parent 188f3ae commit b7f6c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ async function main() {
145145
['view', `${pkgName}@~${canaryVersion}`, 'version', '--json'],
146146
{ stdio: 'pipe' },
147147
)
148-
let versions = JSON.parse(stdout)
148+
let versions = JSON.parse(/** @type {string} */ (stdout))
149149
versions = Array.isArray(versions) ? versions : [versions]
150150
const latestSameDayPatch = /** @type {string} */ (
151151
semver.maxSatisfying(versions, `~${canaryVersion}`)

0 commit comments

Comments
 (0)