Skip to content

Commit

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

cd "$output_folder"

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

cd "$original_folder"
}
Expand Down

0 comments on commit 4eadbaa

Please sign in to comment.