Skip to content

Commit

Permalink
remove space at the end of lines
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey V. Osipov <[email protected]>
  • Loading branch information
sipopo committed Dec 16, 2022
1 parent 467a969 commit 0b08b32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/setup_node_env/node_version_validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if (!isVersionValid) {
} else if (!isMinorValid) {
// Validates Minor version of the NodeJS
var warnMessage =
`You're using an untested version of Node.js. OpenSearch Dashboards has been tested to work with Node.js` +
`You're using an untested version of Node.js. OpenSearch Dashboards has been tested to work with Node.js ` +
`${requiredVersion}. Your current version is ${currentVersion}.`;
console.warn(warnMessage);
}
2 changes: 1 addition & 1 deletion src/setup_node_env/node_version_validator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function testValidateNodeVersion(done, versionToTest, expectError = false, expec
expect(error.code).toBe(0);

var speficicWarningMessage =
`You're using an untested version of Node.js. OpenSearch Dashboards has been tested to work with Node.js` +
`You're using an untested version of Node.js. OpenSearch Dashboards has been tested to work with Node.js ` +
`${REQUIRED_NODE_JS_VERSION}. Your current version is ${versionToTest}.\n`;
expect(stderr).toStrictEqual(speficicWarningMessage);
} else {
Expand Down

0 comments on commit 0b08b32

Please sign in to comment.