Skip to content

Commit 4eadbaa

Browse files
Merge pull request #465 from codacy/fix-move-action-get-script
revert last changes
2 parents d551fd1 + c162e37 commit 4eadbaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

get.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,15 @@ download() {
122122
local url="$1"
123123
local file_name="$2"
124124
local output_folder="$3"
125-
local output_filename="$2"
125+
local output_filename="$4"
126126
local checksum_url="$5"
127127
local original_folder="$(pwd)"
128128

129129
cd "$output_folder"
130130

131131
download_file "$url"
132132
checksum "$file_name" "$checksum_url"
133+
mv "$file_name" "$output_filename"
133134

134135
cd "$original_folder"
135136
}

0 commit comments

Comments
 (0)