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

Change message to suggest upgrading to LTS version and not mention minimum version #4611

Merged
merged 5 commits into from
Mar 27, 2024

Conversation

saberduck
Copy link
Contributor

No description provided.

Copy link
Contributor

@zglicz zglicz left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -112,7 +112,9 @@ void test_min_version() throws IOException {
builder().minNodeVersion(Version.create(99, 0)).pathResolver(getPathResolver()).build()
)
.isInstanceOf(NodeCommandException.class)
.hasMessageStartingWith("Only Node.js v99.0 or later is supported, got");
Copy link
Contributor

Choose a reason for hiding this comment

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

well, this was future-proof

@@ -112,7 +112,9 @@ void test_min_version() throws IOException {
builder().minNodeVersion(Version.create(99, 0)).pathResolver(getPathResolver()).build()
)
.isInstanceOf(NodeCommandException.class)
.hasMessageStartingWith("Only Node.js v99.0 or later is supported, got");
.hasMessageMatching(
"Unsupported Node.JS version detected .* Please upgrade to latest Node.JS LTS version."
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

saberduck and others added 2 commits March 27, 2024 17:35
…lugins/javascript/nodejs/NodeCommandBuilderImpl.java

Co-authored-by: zglicz <[email protected]>
@saberduck saberduck enabled auto-merge (squash) March 27, 2024 16:36
Copy link

@saberduck saberduck merged commit d49830c into master Mar 27, 2024
14 checks passed
@saberduck saberduck deleted the fix_msg branch March 27, 2024 16:59
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.

3 participants