Unverified Commit 9d447718 authored by Maia Teegarden's avatar Maia Teegarden Committed by GitHub

USe await correctly (#28053)

parent 08a24780
...@@ -15,7 +15,7 @@ const cwd = process.cwd() ...@@ -15,7 +15,7 @@ const cwd = process.cwd()
// Copy binaries to package folders, update version, and publish // Copy binaries to package folders, update version, and publish
let nativePackagesDir = path.join(cwd, 'packages/next/build/swc/npm') 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' (name) => name !== '.gitignore'
) )
for (let platform of platforms) { for (let platform of platforms) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment