Skip to content

Commit 79166af

Browse files
build-with-container: ensure npm dir is set up before configure
When the npm cache path option is passed the npm cache dir is passed to all container `run` commands, ensure the dir has been created before the first container command (configure) is used. Signed-off-by: John Mulligan <[email protected]>
1 parent 1dbedbd commit 79166af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/script/build-with-container.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ def get_container(ctx):
648648
def bc_configure(ctx):
649649
"""Configure the build"""
650650
ctx.build.wants(Steps.CONTAINER, ctx)
651+
ctx.build.wants(Steps.NPM_CACHE, ctx)
651652
cmd = _container_cmd(
652653
ctx,
653654
[

0 commit comments

Comments
 (0)