From 539885386a65d14b49f6969dd7380541396f75b7 Mon Sep 17 00:00:00 2001 From: Rafael Oleza Date: Mon, 18 Sep 2017 03:37:44 -0700 Subject: [PATCH] Remove unneeded await in sync method Reviewed By: cpojer Differential Revision: D5851184 fbshipit-source-id: 4a6f5cbd9d1237843c349b5944bd17767f84f625 --- packages/metro-bundler/src/DeltaBundler/DeltaTransformer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/metro-bundler/src/DeltaBundler/DeltaTransformer.js b/packages/metro-bundler/src/DeltaBundler/DeltaTransformer.js index f6b58ec8..fc6d9a54 100644 --- a/packages/metro-bundler/src/DeltaBundler/DeltaTransformer.js +++ b/packages/metro-bundler/src/DeltaBundler/DeltaTransformer.js @@ -330,7 +330,7 @@ class DeltaTransformer extends EventEmitter { const dependencyPairsForModule = dependencyPairs.get(module.path) || []; const wrapped = this._bundleOptions.wrapModules - ? await this._resolver.wrapModule({ + ? this._resolver.wrapModule({ module, getModuleId: this._getModuleId, dependencyPairs: dependencyPairsForModule,