Skip to content

Commit d46c984

Browse files
author
Luca Forstner
committed
Fix build args
1 parent d0709fe commit d46c984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/e2e-tests/run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ groupCIOutput('Test Registry Setup', () => {
7171
PUBLISH_PACKAGES_DOCKER_IMAGE_NAME,
7272
'--file',
7373
'./Dockerfile.publish-packages',
74-
publishScriptNodeVersion ? `--build-arg NODE_VERSION=${publishScriptNodeVersion}` : undefined,
74+
...(publishScriptNodeVersion ? ['--build-arg', `NODE_VERSION=${publishScriptNodeVersion}`] : []),
7575
'.',
76-
].filter((arg): arg is string => arg !== undefined),
76+
],
7777
{
7878
encoding: 'utf8',
7979
stdio: 'inherit',

0 commit comments

Comments
 (0)