Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Jun 28, 2024
1 parent fa9416a commit e6c1cfd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion metro.transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ module.exports.transform = async ({ src, filename, options }) => {
* Params based on builds we're code splitting
* i.e: flavorDimensions "version" productFlavors from android/app/build.gradle
*/
if (!path.normalize(filename).split(path.sep).includes('node_modules') && fileExtsToScan.includes(path.extname(filename))) {
if (
!path.normalize(filename).split(path.sep).includes('node_modules') &&
fileExtsToScan.includes(path.extname(filename))
) {
const [processedSource, didModify] = removeFencedCode(filename, src, {
all: availableFeatures,
active: getBuildTypeFeatures(),
Expand Down

0 comments on commit e6c1cfd

Please sign in to comment.