From 42aef06f22940dcf3f2d3a655f07d553905547a4 Mon Sep 17 00:00:00 2001 From: GrantBirki Date: Thu, 17 Apr 2025 09:55:13 -0700 Subject: [PATCH] apply https://github.com/actions/download-artifact/pull/401#discussion_r2048225048 suggestion --- src/download-artifact.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/download-artifact.ts b/src/download-artifact.ts index cbbf099..5cc6b17 100644 --- a/src/download-artifact.ts +++ b/src/download-artifact.ts @@ -102,7 +102,7 @@ export async function run(): Promise { // Parse the artifact IDs artifactIds = artifactIdList.map(id => { - const numericId = parseInt(id) + const numericId = parseInt(id, 10) if (isNaN(numericId)) { throw new Error(`Invalid artifact ID: '${id}'. Must be a number.`) }