File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ find_directories_with_package_json_file() {
7171scan_directory () {
7272 local source_directory_name; source_directory_name=$( basename " ${1} " ) ;
7373 local progress_information; progress_information=" ${2} "
74+ local COLOR_DARK_GREY=' \033[0;30m'
75+ local COLOR_DEFAULT=' \033[0m'
7476
7577 echo " " >&2 # Output an empty line to have a clearer separation between each scan
7678
@@ -79,7 +81,9 @@ scan_directory() {
7981 # Note: For later troubleshooting, the output is also copied to a dedicated log file using "tee".
8082 # Note: Don't worry about the hardcoded version number. It will be updated by Renovate using a custom Manager.
8183 # Note: NODE_OPTIONS --max-old-space-size=4096 increases the memory for scanning larger projects
84+ echo -e " ${COLOR_DARK_GREY} "
8285 NODE_OPTIONS=
" ${NODE_OPTIONS} --max-old-space-size=${TYPESCRIPT_SCAN_HEAP_MEMORY} " npx --yes @jqassistant/
[email protected] " ${1} " --extension React
2>&1 | tee
" ${LOG_DIRECTORY} /jqassistant-typescript-scan-${source_directory_name} .log" >&2 86+ echo -e " ${COLOR_DEFAULT} "
8387 else
8488 echo " scanTypescript: Skipping scan of ${source_directory_name} (${progress_information} ) -----------------" >&2
8589 fi
You can’t perform that action at this time.
0 commit comments