diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-02-23 12:19:04 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-02-23 22:15:57 +0100 |
commit | 6b0ad899b3ced4932cf600a4f89b2609512c98be (patch) | |
tree | 5d772f8fd0f193b06bdad9de147e59dd8d674789 /platform/node/test | |
parent | 87be62f9e4bbf990b63a1f4bed3939276cfd6a92 (diff) | |
download | qtlocation-mapboxgl-6b0ad899b3ced4932cf600a4f89b2609512c98be.tar.gz |
[node] adhere to node module naming requirements
https://nodejs.org/api/addons.html#addons_building specifies that "The module_name must match the filename of the final binary (excluding the .node suffix).". While the mismatch between `mapbox-gl-native` and `mapbox_gl_native` hasn't caused issues so far, we should play by the book.
Diffstat (limited to 'platform/node/test')
-rw-r--r-- | platform/node/test/js/require.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/test/js/require.js b/platform/node/test/js/require.js index 1528002c20..073ca742ad 100644 --- a/platform/node/test/js/require.js +++ b/platform/node/test/js/require.js @@ -1 +1 @@ -var mbgl = require('../../../../lib/mapbox-gl-native'); +var mbgl = require('../../../../lib/mapbox_gl_native'); |