Fix: creating directory
This commit is contained in:
parent
954bc43c22
commit
2bceb9385c
@ -62,7 +62,7 @@ export async function command(params: { buildContext: BuildContext }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
const dirName = pathDirname(copyableFilePath);
|
const dirName = pathDirname(destFilePath);
|
||||||
|
|
||||||
if (!(await existsAsync(dirName))) {
|
if (!(await existsAsync(dirName))) {
|
||||||
await fsPr.mkdir(dirName, { recursive: true });
|
await fsPr.mkdir(dirName, { recursive: true });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user