about summary refs log tree commit diff stats
path: root/tree-sitter/dsk/test-build/generated/js/index.js
blob: af85b7aa4b79835459aab773e622a9417a7e932b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
try {
  module.exports = require("./build/Release/tree_sitter_test_lang_binding");
} catch (error1) {
  if (error1.code !== 'MODULE_NOT_FOUND') {
    throw error1;
  }
  try {
    module.exports = require("./build/Debug/tree_sitter_test_lang_binding");
  } catch (error2) {
    if (error2.code !== 'MODULE_NOT_FOUND') {
      throw error2;
    }
    throw error1
  }
}