fixed create dir path again
This commit is contained in:
5
src/functions/normalizeDirPath.ts
Normal file
5
src/functions/normalizeDirPath.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
function normalizeDirPath(path:string): string {
|
||||
return path.endsWith("/")?path: (path + "/")
|
||||
}
|
||||
|
||||
export default normalizeDirPath
|
||||
Reference in New Issue
Block a user