]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blobdiff - bindings/node/index.js
Use the plugin path as the tree-sitter config
[rbdr/tree-sitter-api-notation] / bindings / node / index.js
index d7f66fd88beeef9822590c2208be2fd900f739eb..cf8c768e54cc91e2cfd3a904426ce93ddf95005c 100644 (file)
@@ -1,11 +1,11 @@
 try {
 try {
-  module.exports = require("../../build/Release/tree_sitter_apinotation_binding");
+  module.exports = require("../../build/Release/tree_sitter_api_notation_binding");
 } catch (error1) {
   if (error1.code !== 'MODULE_NOT_FOUND') {
     throw error1;
   }
   try {
 } catch (error1) {
   if (error1.code !== 'MODULE_NOT_FOUND') {
     throw error1;
   }
   try {
-    module.exports = require("../../build/Debug/tree_sitter_apinotation_binding");
+    module.exports = require("../../build/Debug/tree_sitter_api_notation_binding");
   } catch (error2) {
     if (error2.code !== 'MODULE_NOT_FOUND') {
       throw error2;
   } catch (error2) {
     if (error2.code !== 'MODULE_NOT_FOUND') {
       throw error2;