-
Notifications
You must be signed in to change notification settings - Fork 181
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
Conversation
There was a problem hiding this 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"); |
There was a problem hiding this comment.
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
...ascript-plugin/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandBuilderImpl.java
Outdated
Show resolved
Hide resolved
@@ -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." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
…lugins/javascript/nodejs/NodeCommandBuilderImpl.java Co-authored-by: zglicz <michal.zgliczynski@sonarsource.com>
Quality Gate passedIssues Measures |
No description provided.