chengjie vor 3 Monaten
Ursprung
Commit
119ffd3f86
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  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("\"\":","\":");