Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

improve assert error message if abi mismatch

  • Loading branch information...
commit 6b0598175c894d3486dda4951c30976a6773f63d 1 parent 09e4c5d
@springmeyer springmeyer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mapnik/index.js
View
2  mapnik/index.js
@@ -22,7 +22,7 @@ else {
/* assert ABI compatibility */
// otherwise register_fonts will throw with:
// "TypeError: first argument must be a path to a directory of fonts"
-assert.ok(mapnik.versions.node === process.versions.node,'The node version "' + process.versions.node + '" does not match the node version that node-mapnik was compiled against: "' + mapnik.versions.node + '"');
+assert.ok(mapnik.versions.node === process.versions.node,'The running node version "' + process.versions.node + '" does not match the node version that node-mapnik was compiled against: "' + mapnik.versions.node + '"');
function warning(value, what)
{
Please sign in to comment.
Something went wrong with that request. Please try again.