Skip to content

Commit

Permalink
fix: fix codegen script failing due to missing platforms
Browse files Browse the repository at this point in the history
there is a regression in the codegen script that assumes `platforms` field to be present.
so we add empty objects to avoid the crash during code generation.
  • Loading branch information
satya164 committed Dec 6, 2024
1 parent 2f8ae32 commit 86c5c67
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ module.exports = {
dependencies: {
[pkg.name]: {
root: path.join(__dirname, '..'),
platforms: {
// Codegen script incorrectly fails without this
// So we explicitly specify the platforms with empty object
ios: {},
android: {},
},
},
},
};

0 comments on commit 86c5c67

Please sign in to comment.