fixed create dir path again

This commit is contained in:
2021-08-24 15:03:30 +02:00
parent a716b4c8cd
commit e06d28d75e
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
function normalizeDirPath(path:string): string {
return path.endsWith("/")?path: (path + "/")
}
export default normalizeDirPath