aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-css-plugin/src/test/resources/mock-start-server/startServer.js
diff options
context:
space:
mode:
authorElena Vilchik2019-12-27 11:49:52 +0100
committerGitHub2019-12-27 11:49:52 +0100
commit0c7fadc03cca985bfc5fbae3a29f29cc71866bac (patch)
treea68977c79532e0064f75c2657c2d3e76cbc49ccc /sonar-css-plugin/src/test/resources/mock-start-server/startServer.js
parente65fb9a64ef2b81c3741a63d6d4a046b37659628 (diff)
downloadsonar-css-0c7fadc03cca985bfc5fbae3a29f29cc71866bac.tar.bz2
Avoid error level logs when on project without CSS files (#231)
Diffstat (limited to 'sonar-css-plugin/src/test/resources/mock-start-server/startServer.js')
-rw-r--r--sonar-css-plugin/src/test/resources/mock-start-server/startServer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-css-plugin/src/test/resources/mock-start-server/startServer.js b/sonar-css-plugin/src/test/resources/mock-start-server/startServer.js
index f7f40c5..87298a9 100644
--- a/sonar-css-plugin/src/test/resources/mock-start-server/startServer.js
+++ b/sonar-css-plugin/src/test/resources/mock-start-server/startServer.js
@@ -38,6 +38,7 @@ const requestHandler = (request, response) => {
response.end(JSON.stringify([]));
break;
case "syntax-error.css":
+ case "syntax-error.web":
response.end(JSON.stringify([
{line: 2, rule: "CssSyntaxError", text: "Missed semicolon (CssSyntaxError)"}
]));