From accf805de4313fdd8bb98eee8cc412bb3925fe91 Mon Sep 17 00:00:00 2001 From: Eddy Nakamura Date: Mon, 24 Aug 2020 21:43:50 -0300 Subject: [PATCH] adding files to buildFileList and linter --- lib/buildFileList.sh | 5 +++++ lib/linter.sh | 1 + 2 files changed, 6 insertions(+) diff --git a/lib/buildFileList.sh b/lib/buildFileList.sh index c3cf58cd..fa97ddbe 100755 --- a/lib/buildFileList.sh +++ b/lib/buildFileList.sh @@ -404,6 +404,11 @@ function BuildFileList() { # Append the file to the array # ################################ FILE_ARRAY_POWERSHELL+=("${FILE}") + elif [ "${FILE_TYPE}" == "cs" ]; then + ################################ + # Append the file to the array # + ################################ + FILE_ARRAY_CSHARP+=("${FILE}") elif [ "${FILE_TYPE}" == "css" ] || [ "${FILE_TYPE}" == "scss" ] || [ "${FILE_TYPE}" == "sass" ]; then ################################ diff --git a/lib/linter.sh b/lib/linter.sh index 827e6498..b4555ef9 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -280,6 +280,7 @@ FILE_ARRAY_BASH=() # Array of files to check FILE_ARRAY_CLOUDFORMATION=() # Array of files to check FILE_ARRAY_CLOJURE=() # Array of files to check FILE_ARRAY_COFFEESCRIPT=() # Array of files to check +FILE_ARRAY_CSHARP=() # Array of files to check FILE_ARRAY_CSS=() # Array of files to check FILE_ARRAY_DART=() # Array of files to check FILE_ARRAY_DOCKERFILE=() # Array of files to check