Skip to content

Commit

Permalink
fix(cli): js binding template (#1788)
Browse files Browse the repository at this point in the history
- Close #1775
  • Loading branch information
Brooooooklyn committed Nov 6, 2023
1 parent 3deae16 commit dac0738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/api/templates/js-binding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ if (!nativeBinding) {
}
${idents
.map((ident) => `module.exports.${ident} = binding.${ident}`)
.map((ident) => `module.exports.${ident} = nativeBinding.${ident}`)
.join('\n')}
`
}

0 comments on commit dac0738

Please sign in to comment.