mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 05:40:10 +00:00
14 lines
304 B
JavaScript
14 lines
304 B
JavaScript
|
try {
|
||
|
module.exports = require("./build/Release/tree_sitter_r2cmd_binding");
|
||
|
} catch (error) {
|
||
|
try {
|
||
|
module.exports = require("./build/Debug/tree_sitter_r2cmd_binding");
|
||
|
} catch (_) {
|
||
|
throw error
|
||
|
}
|
||
|
}
|
||
|
|
||
|
try {
|
||
|
module.exports.nodeTypeInfo = require("./src/node-types.json");
|
||
|
} catch (_) {}
|