Skip to content

Commit

Permalink
Fix remove output file redundant suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyan1024 committed Jul 1, 2024
1 parent a49ba1d commit 9c86116
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ data class InsPickerOption(
return baseDir + File.separator + repoFileName() + ".jsonl"
}

fun repoFileName() = "${encodeFileName(url)}_${encodeFileName(branch)}_${language}.jsonl"
fun repoFileName() = "${encodeFileName(url)}_${encodeFileName(branch)}_${language}"

/**
* Encodes a given string to be used as a file name by replacing characters that are not allowed in file names.
Expand Down

0 comments on commit 9c86116

Please sign in to comment.