chengjie 3 月之前
父節點
當前提交
119ffd3f86
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/test/build.test.js

+ 3 - 0
src/test/build.test.js

@@ -67,6 +67,9 @@ async function runScript(){
67 67
                 result=result.substring(result.indexOf("```")+3);
68 68
                 result=result.substring(0,result.lastIndexOf("```"));
69 69
             }
70
+            else if (result.indexOf("Here 's a breakdown of the response")>0){
71
+                result=result.substring(0,result.lastIndexOf("Here 's a breakdown of the response"));
72
+            }
70 73
             //console.log("result2:"+result);
71 74
 
72 75
             result=result.replace("\"\":","\":");