Skip to content

Commit

Permalink
refactor: improve logging message in fn_fetch_file
Browse files Browse the repository at this point in the history
The logging message in the fn_fetch_file function has been improved to provide a more concise and informative output. Instead of mentioning the local filename separately, it is now included within the same line as the file URL name. This change enhances readability and clarity when fetching files.
  • Loading branch information
dgibbs64 committed Sep 26, 2023
1 parent 83d6fda commit 88e2591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lgsm/modules/core_dl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ fn_fetch_file() {
"${curlcmd[@]}" --progress-bar "${fileurl}" 2>&1
exitcode="$?"
else
echo -en "${dim}fetching from ${fileurl_name} ( ${local_filename} ) ... \c${default}"
echo -en "${dim}fetching from ${fileurl_name} ${local_filename} ... \c${default}"
"${curlcmd[@]}" --silent --show-error "${fileurl}" 2>&1
exitcode="$?"
fi
Expand Down

0 comments on commit 88e2591

Please sign in to comment.