From 20ac79148d853841c189a0511c39715ae75a2a0f Mon Sep 17 00:00:00 2001 From: tony chen Date: Wed, 6 Mar 2024 14:26:00 +0800 Subject: [PATCH] chore: lint --- packages/taro-rn-supporter/src/Support.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/taro-rn-supporter/src/Support.ts b/packages/taro-rn-supporter/src/Support.ts index 8454ec4c26ac..c1b2b5b31bdb 100644 --- a/packages/taro-rn-supporter/src/Support.ts +++ b/packages/taro-rn-supporter/src/Support.ts @@ -132,8 +132,8 @@ export async function getMetroConfig (opt: Options = {}, toMergeConfig?: MetroCo return Middleware } }, - }; - if (!toMergeConfig) return taroMetroConfig; + } + if (!toMergeConfig) return taroMetroConfig const blockListTaro = taroMetroConfig.resolver?.blockList const blockListMerge = toMergeConfig.resolver?.blockList @@ -147,5 +147,5 @@ export async function getMetroConfig (opt: Options = {}, toMergeConfig?: MetroCo resolveRequest: taroMetroConfig.resolver?.resolveRequest, } }) - return finalConfig; + return finalConfig }