Skip to content

Commit d6a2a3e

Browse files
committed
use Object.keys
1 parent fcd4dbe commit d6a2a3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/wrangler/src/deployment-bundle

packages/wrangler/src/deployment-bundle/bundle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ export async function bundleWorker(
301301
// filter the hook calls to only those that match the alias keys
302302
// this should avoid slowing down builds which don't use aliasing
303303
const filter = new RegExp(
304-
Object.entries(alias)
305-
.map(([key, _value]) => escapeRegex(key))
304+
Object.keys(alias)
305+
.map((key) => escapeRegex(key))
306306
.join("|")
307307
);
308308

0 commit comments

Comments
 (0)