Skip to content

Commit

Permalink
fix: always add a newline at the end of the file when generating js-b…
Browse files Browse the repository at this point in the history
…inding.js
  • Loading branch information
yisibl committed Nov 16, 2021
1 parent 0e0bfb1 commit 753bb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ async function writeJsBinding(
}, '')
await writeFileAsync(
distFileName,
template + declareCodes + exportsCode,
template + declareCodes + exportsCode + '\n',
'utf8',
)
}
Expand Down

0 comments on commit 753bb1e

Please sign in to comment.