Fix: creating directory

This commit is contained in:
Joseph Garrone 2024-11-18 00:26:48 +01:00
parent 954bc43c22
commit 2bceb9385c

View File

@ -62,7 +62,7 @@ export async function command(params: { buildContext: BuildContext }) {
}
{
const dirName = pathDirname(copyableFilePath);
const dirName = pathDirname(destFilePath);
if (!(await existsAsync(dirName))) {
await fsPr.mkdir(dirName, { recursive: true });