File tree Expand file tree Collapse file tree 3 files changed +163
-163
lines changed
Expand file tree Collapse file tree 3 files changed +163
-163
lines changed Original file line number Diff line number Diff line change 22 "name" : " talib-binding" ,
33 "main" : " ./build/Release/talib_binding.node" ,
44 "types" : " ./src/talib-binding.generated.d.ts" ,
5- "version" : " 0.3.0 " ,
5+ "version" : " 0.3.1 " ,
66 "license" : " MIT" ,
77 "scripts" : {
88 "install" : " node-gyp configure build -j4"
Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ export function generateBindings({_}: Arguments) {
393393 . normal ( 'TA_RetCodeInfo retCodeInfo;' )
394394 . normal ( 'TA_SetRetCodeInfo(result, &retCodeInfo);' )
395395 . normal ( 'char error[100];' )
396- . normal ( `strcat (error, "TA_${ name } ERROR: ");` )
396+ . normal ( `strcpy (error, "TA_${ name } ERROR: ");` )
397397 . normal ( 'strcat(error, retCodeInfo.enumStr);' )
398398 . normal ( 'strcat(error, " - ");' )
399399 . normal ( 'strcat(error, retCodeInfo.infoStr);' )
You can’t perform that action at this time.
0 commit comments