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

chore(core): Prereq check - support paths with spaces. #9750

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

thantos
Copy link
Contributor

@thantos thantos commented Aug 16, 2020

Prereq check before yarn build fails when there are spaces in the
path. This is common for WSL2 on windows. For example, mvn is in the
path at /mnt/c/Program Files/.

Testing - Ran check on linux paths and windows paths with and without
spaces. Tested with correct version, wrong version, and missing dep.

fixes #9749


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Prereq check before `yarn build` fails when there are spaces in the
path. This is common for WSL2 on windows. For example, mvn is in the
path at `/mnt/c/Program Files/`.

Testing - Ran check on linux paths and windows paths with and without
spaces. Tested with correct version, wrong version, and missing dep.

fixes aws#9749
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 9ca1d02
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@NetaNir NetaNir added the p1 label Aug 17, 2020
@NetaNir NetaNir changed the title fix(build): Prereq check - support paths with spaces. chore(core): Prereq check - support paths with spaces. Aug 17, 2020
@NetaNir
Copy link
Contributor

NetaNir commented Aug 17, 2020

Thank you, and sorry about that!
I Have changed the title to chore so it will not show up in the changelog.

@NetaNir NetaNir merged commit d31d4db into aws:master Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[build] - Prereq check does not support paths with spaces.
3 participants