chore: fix js binding template style (#1550)
Signed-off-by: suyanhanx <suyanhanx@gmail.com>
This commit is contained in:
parent
a8f1310e4d
commit
ea7e75ee74
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ function isMusl() {
|
||||||
// For Node 10
|
// For Node 10
|
||||||
if (!process.report || typeof process.report.getReport !== 'function') {
|
if (!process.report || typeof process.report.getReport !== 'function') {
|
||||||
try {
|
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')
|
return readFileSync(lddPath, 'utf8').includes('musl')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue