Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen committed Mar 6, 2024
1 parent 7d379cc commit 20ac791
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/taro-rn-supporter/src/Support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -147,5 +147,5 @@ export async function getMetroConfig (opt: Options = {}, toMergeConfig?: MetroCo
resolveRequest: taroMetroConfig.resolver?.resolveRequest,
}
})
return finalConfig;
return finalConfig
}

0 comments on commit 20ac791

Please sign in to comment.