fix(cli): js binding template (#1788)
- Close https://github.com/napi-rs/napi-rs/issues/1775
This commit is contained in:
parent
3deae16442
commit
dac073805b
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ if (!nativeBinding) {
|
|||
}
|
||||
|
||||
${idents
|
||||
.map((ident) => `module.exports.${ident} = binding.${ident}`)
|
||||
.map((ident) => `module.exports.${ident} = nativeBinding.${ident}`)
|
||||
.join('\n')}
|
||||
`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue