Skip to content

Commit

Permalink
Resolve the issue of failed accept code functionality in the JetBrain…
Browse files Browse the repository at this point in the history
…s plugin on windows platform
  • Loading branch information
Hao You committed Apr 16, 2024
1 parent 98521a2 commit 84a63a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fun getDiffDirectory(): File {
return diffDir
}
fun escapeFilepath(filepath: String): String {
return filepath.replace("/", "_f_").replace("\\", "_b_")
return filepath.replace("/", "_f_").replace("\\", "_b_").replace(":", "_h_")
}

interface DiffInfo {
Expand Down

0 comments on commit 84a63a5

Please sign in to comment.