diff --git a/chapi-ast-typescript/src/main/kotlin/chapi/ast/typescriptast/TypeScriptFullIdentListener.kt b/chapi-ast-typescript/src/main/kotlin/chapi/ast/typescriptast/TypeScriptFullIdentListener.kt index 3ece2b30..c3bd46ad 100644 --- a/chapi-ast-typescript/src/main/kotlin/chapi/ast/typescriptast/TypeScriptFullIdentListener.kt +++ b/chapi-ast-typescript/src/main/kotlin/chapi/ast/typescriptast/TypeScriptFullIdentListener.kt @@ -611,7 +611,7 @@ class TypeScriptFullIdentListener(node: TSIdentify) : TypeScriptAstListener() { } } else -> { - println("parseStmt childType -> :$childType") +// println("parseStmt childType -> :$childType") } } } @@ -677,7 +677,7 @@ class TypeScriptFullIdentListener(node: TSIdentify) : TypeScriptAstListener() { // todo: add other case for call chain in arrow function if (argText.contains(").")) { val args = parseArguments(argument) - println("argText with )." + Json.encodeToString(args)) +// println("argText with )." + Json.encodeToString(args)) } // axios.get() or _.orderBy() diff --git a/chapi-ast-typescript/src/test/kotlin/chapi/ast/typescriptast/TypeScriptAnalyserTest.kt b/chapi-ast-typescript/src/test/kotlin/chapi/ast/typescriptast/TypeScriptAnalyserTest.kt index 857ce357..efba6fa0 100644 --- a/chapi-ast-typescript/src/test/kotlin/chapi/ast/typescriptast/TypeScriptAnalyserTest.kt +++ b/chapi-ast-typescript/src/test/kotlin/chapi/ast/typescriptast/TypeScriptAnalyserTest.kt @@ -70,7 +70,7 @@ class TypeScriptAnalyserTest { } @Test - @Disabled +// @Disabled fun someBug() { val dir = File("/Users/phodal/bug-ui-system") dir.walkTopDown().forEach { @@ -78,7 +78,6 @@ class TypeScriptAnalyserTest { val content = it.readText() println(it.absolutePath) val codeFile = TypeScriptAnalyser().analysis(content, it.name) - println(codeFile) } } }