Skip to content

Commit

Permalink
[LOCAL] Fix linter formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
blakef committed Dec 4, 2024
1 parent 14185f2 commit bb29d37
Showing 1 changed file with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function findNotLinkedLibraries(projectRoot) {
notLinkedPlatforms.push(platform);
}
});
notLinkedLibraries[name] = notLinkedPlatforms
notLinkedLibraries[name] = notLinkedPlatforms;
});
return notLinkedLibraries;
}
Expand Down Expand Up @@ -736,14 +736,18 @@ function execute(projectRoot, targetPlatform, baseOutputPath) {
platform,
);

const schemaInfos = generateSchemaInfos(libraries.filter(library => {
const unlinkedPlatforms = notLinkedLibraries[library.libraryName];
if (unlinkedPlatforms && unlinkedPlatforms.includes(platform)) {
console.log(`[Codegen - ${library.libraryName}] Skipping Codegen on ${platform}`);
return false;
}
return true;
}));
const schemaInfos = generateSchemaInfos(
libraries.filter(library => {
const unlinkedPlatforms = notLinkedLibraries[library.libraryName];
if (unlinkedPlatforms && unlinkedPlatforms.includes(platform)) {
console.log(
`[Codegen - ${library.libraryName}] Skipping Codegen on ${platform}`,
);
return false;
}
return true;
}),
);

generateNativeCode(
outputPath,
Expand Down

0 comments on commit bb29d37

Please sign in to comment.