-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow node patch versions to be different on runtime
This adjusts the runtime node version check to only compare major and minor version requirements. Systems that don't use the bundled NodeJS might update their node due to security patches, which would currently break OpenSearch Dashboards unecessarily. ```shell % grep 14.18 ../../package.json "node": "14.18.2", % nvm use 12 Now using node v12.22.8 (npm v6.14.15) % node node_version_validator.js OpenSearch Dashboards does not support the current Node.js version v12.22.8. Please use Node.js ~v14.18. % nvm use 14 Now using node v14.18.3 (npm v6.14.15) % node node_version_validator.js % ``` Signed-off-by: Justin Kromlinger <[email protected]>
- Loading branch information
Showing
2 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters