From 9c44d2d503f1e91fdd997494f0f048bfd8b75088 Mon Sep 17 00:00:00 2001 From: Eddy Nakamura Date: Wed, 26 Aug 2020 11:58:28 -0300 Subject: [PATCH] changing command - 2 --- lib/linter.sh | 2 +- lib/worker.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/linter.sh b/lib/linter.sh index 53975317..53ed512e 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -1430,7 +1430,7 @@ if [ "${VALIDATE_CSHARP}" == "true" ]; then # Lint the C# files # ######################### # LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILE_ARRAY" - LintCodebase "CSHARP" "dotnet-format" "dotnet-format --folder --check --include" ".\**\*.\(cs\)\$" "${FILE_ARRAY_CSHARP[@]}" + LintCodebase "CSHARP" "dotnet-format" "dotnet-format --folder --check --include" "**.\(cs\)\$" "${FILE_ARRAY_CSHARP[@]}" fi ############### diff --git a/lib/worker.sh b/lib/worker.sh index eddd028a..5cd34847 100755 --- a/lib/worker.sh +++ b/lib/worker.sh @@ -617,7 +617,7 @@ function RunTestCases() { TestCodebase "CLOUDFORMATION" "cfn-lint" "cfn-lint --config-file ${CLOUDFORMATION_LINTER_RULES}" ".*\.\(json\|yml\|yaml\)\$" "cloudformation" TestCodebase "CLOJURE" "clj-kondo" "clj-kondo --config ${CLOJURE_LINTER_RULES} --lint" ".*\.\(clj\|cljs\|cljc\|edn\)\$" "clojure" TestCodebase "COFFEESCRIPT" "coffeelint" "coffeelint -f ${COFFEESCRIPT_LINTER_RULES}" ".*\.\(coffee\)\$" "coffeescript" - TestCodebase "CSHARP" "dotnet-format" "dotnet-format --check --folder --include" ".\**\*.\(cs\)\$" "csharp" + TestCodebase "CSHARP" "dotnet-format" "dotnet-format --check --folder --include" "**.\(cs\)\$" "csharp" TestCodebase "CSS" "stylelint" "stylelint --config ${CSS_LINTER_RULES}" ".*\.\(css\|scss\|sass\)\$" "css" TestCodebase "DART" "dart" "dartanalyzer --fatal-infos --fatal-warnings --options ${DART_LINTER_RULES}" ".*\.\(dart\)\$" "dart" TestCodebase "DOCKERFILE" "dockerfilelint" "dockerfilelint -c ${DOCKERFILE_LINTER_RULES}" ".*\(Dockerfile\)\$" "docker"