Skip to content

Commit f943167

Browse files
lgeigerrgbkrk
authored andcommitted
Better log messages for using external libzmq
This should help when debugging install failures.
1 parent 484f790 commit f943167

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/prebuild-install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var platform = process.platform;
55
var arch = process.arch;
66

77
if (process.env.npm_config_zmq_external == "true") {
8-
/* Requested to use external libzmq, we must rebuild. */
8+
console.log('Requested to use external libzmq. Skipping download of prebuilt binaries.');
99
process.exit(1);
1010
}
1111

scripts/preinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var ZMQ = "4.2.2";
77
var ZMQ_REPO = "libzmq";
88

99
if (process.env.npm_config_zmq_external == "true") {
10-
console.log("Skipping libzmq build");
10+
console.log("Requested to use external libzmq. Skipping libzmq build");
1111
process.exit(0);
1212
}
1313

0 commit comments

Comments
 (0)