Skip to content

Commit ee2178e

Browse files
committed
show which native module is trying to get imported
1 parent ec8fbb5 commit ee2178e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bindings/node/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ function requireNative() {
198198
} else if (process.platform === 'linux') {
199199
if (process.arch === 'x64') {
200200
if (isMusl()) {
201+
console.log("Trying MUSL...")
201202
try {
202203
return require('./cpp-linter.linux-x64-musl.node')
203204
} catch (e) {
@@ -209,6 +210,7 @@ function requireNative() {
209210
loadErrors.push(e)
210211
}
211212
} else {
213+
console.log("Trying GNU...")
212214
try {
213215
return require('./cpp-linter.linux-x64-gnu.node')
214216
} catch (e) {

0 commit comments

Comments
 (0)