Skip to content

Commit

Permalink
Merge pull request #463 from codacy/fix-move-action-get-script
Browse files Browse the repository at this point in the history
TS-504 fix download method in get.sh
  • Loading branch information
DMarinhoCodacy authored Jul 31, 2023
2 parents 06c9cc7 + 0af3daa commit d551fd1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,14 @@ download() {
local url="$1"
local file_name="$2"
local output_folder="$3"
local output_filename="$4"
local output_filename="$2"
local checksum_url="$5"
local original_folder="$(pwd)"

cd "$output_folder"

download_file "$url"
checksum "$file_name" "$checksum_url"
mv -f "$file_name" "$output_filename"

cd "$original_folder"
}
Expand Down

0 comments on commit d551fd1

Please sign in to comment.