Skip to content

Commit 743e3b4

Browse files
zaferayanfriederbluemle
authored andcommitted
Fix relative path problem when creating container
1 parent 55a5a7a commit 743e3b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ern-container-gen/src/generateContainer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export async function generateContainer(
3232
postBundle?: PostBundleAction;
3333
} = {},
3434
): Promise<ContainerGenResult> {
35+
config.outDir = path.resolve(config.outDir);
3536
fs.ensureDirSync(config.outDir);
3637
shell.rm('-rf', path.join(config.outDir, '{.*,*}'));
3738

0 commit comments

Comments
 (0)