Skip to content

Commit

Permalink
♻️ enable withExcludedSimulatorArchitectures
Browse files Browse the repository at this point in the history
  • Loading branch information
brunokiafuka committed May 13, 2023
1 parent bf6cc10 commit 6f89fad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions build/withWatermelon.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ exports.default = (config, options) => {
config = addFlipperDb(config, options?.databases ?? []);
config = setWmelonBridgingHeader(config);
config = withCocoaPods(config);
if (options?.excludeSimulatorArchitectures ?? true) {
config = withExcludedSimulatorArchitectures(config);
}
config = withExcludedSimulatorArchitectures(config);
return config;
};
6 changes: 3 additions & 3 deletions src/withWatermelon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ export default (config, options) => {
config = addFlipperDb(config, options?.databases ?? []);
config = setWmelonBridgingHeader(config);
config = withCocoaPods(config);
if (options?.excludeSimulatorArchitectures ?? true) {
config = withExcludedSimulatorArchitectures(config);
}

config = withExcludedSimulatorArchitectures(config);

return config;
};

0 comments on commit 6f89fad

Please sign in to comment.