Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docker): shell syntax error #3462

Merged
merged 1 commit into from
Dec 2, 2023
Merged

Conversation

kpine
Copy link
Contributor

@kpine kpine commented Dec 2, 2023

A Dockerfile RUN command has a shell syntax error:

[2/3] STEP 4/13: RUN [ -d 'node_modules' ] && echo "Skipping install" || npm install $([ -d 'dist'] && echo '--omit=dev' || echo '')
sh: missing ]

The [ command requires spaces around the expression.

@robertsLando robertsLando merged commit e6710bb into zwave-js:master Dec 2, 2023
8 checks passed
@kpine kpine deleted the sh-syntax-error branch December 2, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants