Skip to content

Commit

Permalink
fix: pass empty array instead undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Nov 16, 2024
1 parent 6f5df31 commit 162b37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit 162b37c

Please sign in to comment.