Skip to content

Commit

Permalink
USe await correctly (#28053)
Browse files Browse the repository at this point in the history
  • Loading branch information
padmaia committed Aug 13, 2021
1 parent 08a2478 commit 9d44771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish-native.js
Expand Up @@ -15,7 +15,7 @@ const cwd = process.cwd()

// Copy binaries to package folders, update version, and publish
let nativePackagesDir = path.join(cwd, 'packages/next/build/swc/npm')
let platforms = await readdir(nativePackagesDir).filter(
let platforms = (await readdir(nativePackagesDir)).filter(
(name) => name !== '.gitignore'
)
for (let platform of platforms) {
Expand Down

0 comments on commit 9d44771

Please sign in to comment.