I don’t think so. Your use case of analyzing only the JS code in a C# project is a valid one. I opened #3615 and we’ll do a bugfix. We’ll also add regression tests for your cases.
LE: @Vincent-FundApps also see this reply on a previous post of yours.
@slewis96 - to analyze the C# code, you need to use SonarScanner for MSBuild.
On a separate note and to understand better the scenarios: @current1 @Vincent-FundApps @brett.postin @dlaureaux-accenture - you’re all using the scanner-cli to do the analysis that was failing, right? Was any of you using SonarScanner for MSBuild for such a failed analysis?
LE: If you could detail your project setup it will be great, it will help us add regression tests for them and ensure this will never happen again.