]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15188 Remove SonarCloud reference from Executable Lines docs (#4459)
authorMikeBirnstiehl <michael.birnstiehl@sonarsource.com>
Tue, 20 Jul 2021 15:14:21 +0000 (10:14 -0500)
committersonartech <sonartech@sonarsource.com>
Tue, 20 Jul 2021 20:03:18 +0000 (20:03 +0000)
server/sonar-docs/src/pages/extend/executable-lines.md

index 3d4bf5268788cdbade988c730d87c9bfef602f7e..a2cf73060c87e53da628b45a5e1d2a0efff621d6 100644 (file)
@@ -95,12 +95,15 @@ We ignore here the possibility that `bar()` could throw an exception, preventing
 
 ## Exceptions
 ### Python
-Based on observations from code on SonarCloud, `# pragma: no cover` exempts a block from coverage
+`# pragma: no cover` exempts a block from coverage.
 
 ![# pragma: no cover example](/images/executable-lines-python-exception.png)
 
 ### JavaScript
-It seems to be accepted practice in JavaScript to mark variable declarations executable, so we will too. E.G.
+We mark variable declarations executable.
+
+For example:
+
 ```
 var a;  // +1
 ```