mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
fix: recursively create missing FTP paths
This commit is contained in:
parent
5ea0a71585
commit
53623fa503
@ -123,7 +123,7 @@ export class PhFs implements FileSystem {
|
||||
.replace(WIN_SEP_REGEX, sep),
|
||||
)
|
||||
if (!existsSync(rootFolderFsPath)) {
|
||||
mkdirSync(rootFolderFsPath)
|
||||
mkdirSync(rootFolderFsPath, { recursive: true })
|
||||
}
|
||||
}
|
||||
if (resolvedPath.length > 0) fsPathParts.push(...pathFromRootFolder)
|
||||
|
Loading…
x
Reference in New Issue
Block a user