Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
igalklebanov committed Feb 2, 2025
1 parent 72d4279 commit 9657351
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions scripts/localize-deno-dependency.mts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function main() {
),
)

const results = await Promise.allSettled(
await Promise.allSettled(
['deno-json', 'package-json'].map((flavor) =>
cp(
distPath,
Expand All @@ -26,15 +26,11 @@ async function main() {
`../examples/deno-${flavor}/node_modules/kysely-ctl/dist`,
),
{ force: true, recursive: true },
),
).catch((error) => {
consola.error(error)
}),
),
)

for (const result of results) {
if (result.status === 'rejected') {
consola.warn(result.reason)
}
}
}

main()

0 comments on commit 9657351

Please sign in to comment.