mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
THRIFT-2720 nodejs - Error with enum generation
This commit is contained in:
parent
25023b16eb
commit
a9ddab5fa7
@ -64,7 +64,10 @@ class t_js_generator : public t_oop_generator {
|
||||
iter = parsed_options.find("ts");
|
||||
gen_ts_ = (iter != parsed_options.end());
|
||||
}
|
||||
|
||||
else {
|
||||
gen_ts_ = false;
|
||||
}
|
||||
|
||||
if (gen_node_ && gen_jquery_) {
|
||||
throw "Invalid switch: [-gen js:node,jquery] options not compatible, try: [-gen js:node -gen js:jquery]";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user