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

[Vue] add node version check to vue:build command #18272

Merged
merged 2 commits into from Nov 5, 2021

Conversation

diosmosis
Copy link
Member

Description:

As title.

Review

@diosmosis diosmosis added the Needs Review PRs that need a code review label Nov 4, 2021
@diosmosis diosmosis added this to the 4.6.0 milestone Nov 4, 2021
Comment on lines 198 to 199
$nodeVersion = ltrim(`node -v`, 'v');
$npmVersion = ltrim(`npm -v`, 'v');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

guess a "normal" trim would also remove possible line endings, which might be better. Besides that this should be good to merge

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 makes sense. I'll add a trim().

@diosmosis diosmosis merged commit 0917a39 into 4.x-dev Nov 5, 2021
@diosmosis diosmosis deleted the vue-command-node-check branch November 5, 2021 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants