From 5d9c85b0e7107f05033d4f4a2e68a331cda7516b Mon Sep 17 00:00:00 2001 From: cx-anurag-dalke <120229307+cx-anurag-dalke@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:25:54 +0530 Subject: [PATCH 1/2] Added file extensions *.html & *.xhtml --- internal/params/filters.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/params/filters.go b/internal/params/filters.go index f16896a03..d5f657287 100644 --- a/internal/params/filters.go +++ b/internal/params/filters.go @@ -147,6 +147,8 @@ var BaseIncludeFilters = []string{ "*.mjs", "*.mts", "*.cts", + "*.html", + "*.xhtml", } var BaseExcludeFilters = []string{ From 637a54534cac9301c8742c427ceaed8095ce0133 Mon Sep 17 00:00:00 2001 From: cx-anurag-dalke <120229307+cx-anurag-dalke@users.noreply.github.com> Date: Mon, 17 Nov 2025 14:26:17 +0530 Subject: [PATCH 2/2] updated message and change log level to debug (AST-116482) --- internal/wrappers/configuration/configuration.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/wrappers/configuration/configuration.go b/internal/wrappers/configuration/configuration.go index aa44bed2e..796d57c0b 100644 --- a/internal/wrappers/configuration/configuration.go +++ b/internal/wrappers/configuration/configuration.go @@ -8,6 +8,7 @@ import ( "os/user" "strings" + "github.com/checkmarx/ast-cli/internal/logger" "github.com/checkmarx/ast-cli/internal/params" "github.com/gofrs/flock" "github.com/pkg/errors" @@ -281,7 +282,7 @@ func GetConfigFilePath() (string, error) { func verifyConfigDir(fullPath string) { if _, err := os.Stat(fullPath); os.IsNotExist(err) { - fmt.Println("Creating directory") + logger.PrintfIfVerbose("Creating configuration file at default directory path") err = os.Mkdir(fullPath, homeDirectoryPermissions) if err != nil { log.Fatal("Cannot file home directory.", err)