fix: always add a newline at the end of the file when generating js-binding.js
This commit is contained in:
parent
0e0bfb1c0a
commit
753bb1e31b
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ async function writeJsBinding(
|
||||||
}, '')
|
}, '')
|
||||||
await writeFileAsync(
|
await writeFileAsync(
|
||||||
distFileName,
|
distFileName,
|
||||||
template + declareCodes + exportsCode,
|
template + declareCodes + exportsCode + '\n',
|
||||||
'utf8',
|
'utf8',
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue