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

Avoid message from run-node in the logs #4058

Closed
saberduck opened this issue Aug 11, 2023 · 0 comments · Fixed by #4112
Closed

Avoid message from run-node in the logs #4058

saberduck opened this issue Aug 11, 2023 · 0 comments · Fixed by #4112
Assignees
Milestone

Comments

@saberduck
Copy link
Contributor

run-node prints a message on WARNING level in the logs when node is not available. We should avoid having this message printed to the user.

[**INFO**] Sensor T-SQL Sensor [tsql] (done) | time=24ms
[**INFO**] Sensor CSS Rules [javascript]
[**WARNING**] Failed to parse Node.js version, got 'Couldn't find the Node.js binary. Ensure you have Node.js installed. Open an issue on https://github.com/sindresorhus/run-node'
[**INFO**] Hit the cache for 0 out of 0
[**INFO**] Miss the cache for 0 out of 0
[**INFO**] Sensor CSS Rules [javascript] (done) | time=2549ms

see https://discuss.sonarsource.com/t/open-an-issue-on-https-github-com-sindresorhus-run-node/15407 (internal)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants