chore: fix js binding template style (#1550)

Signed-off-by: suyanhanx <suyanhanx@gmail.com>
This commit is contained in:
Suyan 2023-03-30 20:30:26 +08:00 committed by GitHub
parent a8f1310e4d
commit ea7e75ee74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ function isMusl() {
// For Node 10
if (!process.report || typeof process.report.getReport !== 'function') {
try {
const lddPath = require('child_process').execSync('which ldd').toString().trim();
const lddPath = require('child_process').execSync('which ldd').toString().trim()
return readFileSync(lddPath, 'utf8').includes('musl')
} catch (e) {
return true