Code reuse and better naming
This commit is contained in:
parent
af38750e29
commit
7e00162ef2
3 changed files with 7 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ namespace FileManager
|
|||
|
||||
var pathNoPrefix = path.PathWithoutPrefix;
|
||||
|
||||
pathNoPrefix = replacements.ReplaceInvalidChars(pathNoPrefix);
|
||||
pathNoPrefix = replacements.ReplaceInvalidPathChars(pathNoPrefix);
|
||||
pathNoPrefix = removeDoubleSlashes(pathNoPrefix);
|
||||
|
||||
return pathNoPrefix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue