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

CLI: Respect old Node.js versions in version detection #10499

Merged
merged 1 commit into from Jan 13, 2022

Conversation

medikoo
Copy link
Contributor

@medikoo medikoo commented Jan 13, 2022

When working on local fallback updates, I've realized our Node.js version detection works well only in recent versions of Node.js

e.g. if someone attempts to run Framework with Node.js v6 will see an ugly syntax error. This patch fixes that, and configures test to prevent further regression in that area.

@medikoo medikoo self-assigned this Jan 13, 2022
@medikoo medikoo force-pushed the 0113-fix-node-version-validation branch from 1875835 to 243ef68 Compare January 13, 2022 12:13
@medikoo medikoo marked this pull request as ready for review January 13, 2022 12:15
@codecov
Copy link

codecov bot commented Jan 13, 2022

Codecov Report

Merging #10499 (243ef68) into master (e4c6022) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10499      +/-   ##
==========================================
- Coverage   85.83%   85.83%   -0.01%     
==========================================
  Files         335      335              
  Lines       13931    13930       -1     
==========================================
- Hits        11958    11957       -1     
  Misses       1973     1973              
Impacted Files Coverage Δ
bin/serverless.js 36.36% <100.00%> (-2.77%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4c6022...243ef68. Read the comment docs.

@medikoo medikoo requested a review from pgrzesik January 13, 2022 12:22
Copy link
Contributor

@pgrzesik pgrzesik left a comment

Choose a reason for hiding this comment

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

great catch 👍

@medikoo medikoo merged commit 427920e into master Jan 13, 2022
@medikoo medikoo deleted the 0113-fix-node-version-validation branch January 13, 2022 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants