GrantBirki 2025-04-17 09:55:13 -07:00
parent ac35f995fe
commit 42aef06f22
No known key found for this signature in database
GPG Key ID: 65497A530F6F9405

View File

@ -102,7 +102,7 @@ export async function run(): Promise<void> {
// Parse the artifact IDs // Parse the artifact IDs
artifactIds = artifactIdList.map(id => { artifactIds = artifactIdList.map(id => {
const numericId = parseInt(id) const numericId = parseInt(id, 10)
if (isNaN(numericId)) { if (isNaN(numericId)) {
throw new Error(`Invalid artifact ID: '${id}'. Must be a number.`) throw new Error(`Invalid artifact ID: '${id}'. Must be a number.`)
} }