fix: pass empty array instead undefined

This commit is contained in:
Jozef Steinhübl 2024-11-16 12:00:11 +01:00
parent 6f5df31427
commit 162b37c5da
No known key found for this signature in database
GPG Key ID: E6BC90C91973B08F

View File

@ -25,7 +25,7 @@ runAction({
readVersionFromFile(getInput("bun-version-file")) ||
undefined,
customUrl: getInput("bun-download-url") || undefined,
registries: registries.length > 0 ? registries : undefined,
registries: registries,
noCache: getBooleanInput("no-cache") || false,
})
.then(({ version, revision, bunPath, url, cacheHit }) => {