mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 13:10:54 +00:00
fdfed3d7db
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
19 lines
485 B
JavaScript
19 lines
485 B
JavaScript
try {
|
|
module.exports = require("../../build/Release/tree_sitter_context_predicate_binding");
|
|
} catch (error1) {
|
|
if (error1.code !== 'MODULE_NOT_FOUND') {
|
|
throw error1;
|
|
}
|
|
try {
|
|
module.exports = require("../../build/Debug/tree_sitter_context_predicate_binding");
|
|
} catch (error2) {
|
|
if (error2.code !== 'MODULE_NOT_FOUND') {
|
|
throw error2;
|
|
}
|
|
throw error1
|
|
}
|
|
}
|
|
|
|
try {
|
|
module.exports.nodeTypeInfo = require("../../src/node-types.json");
|
|
} catch (_) {}
|