You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/interpreted-results/data/results-repo1.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
<pre><codeclass="javascript">
6
6
function cleanupTemp() {
7
7
let cmd = "rm -rf " + path.join(__dirname, "temp");
8
-
cp.execSync(cmd); // BAD
8
+
cp.execSync(<strong>cmd</strong>); // BAD
9
9
}
10
10
11
11
</code></pre>
@@ -19,7 +19,7 @@ function cleanupTemp() {
19
19
<pre><codeclass="javascript">
20
20
(function() {
21
21
cp.execFileSync('rm', ['-rf', path.join(__dirname, "temp")]); // GOOD
22
-
cp.execSync('rm -rf ' + path.join(__dirname, "temp")); // BAD
22
+
cp.execSync(<strong>'rm -rf ' + path.join(__dirname, "temp")</strong>); // BAD
23
23
24
24
execa.shell('rm -rf ' + path.join(__dirname, "temp")); // NOT OK
25
25
@@ -34,7 +34,7 @@ function cleanupTemp() {
34
34
<pre><codeclass="javascript">
35
35
cp.execSync('rm -rf ' + path.join(__dirname, "temp")); // BAD
36
36
37
-
execa.shell('rm -rf ' + path.join(__dirname, "temp")); // NOT OK
37
+
execa.shell(<strong>'rm -rf ' + path.join(__dirname, "temp")</strong>); // NOT OK
38
38
execa.shellSync('rm -rf ' + path.join(__dirname, "temp")); // NOT OK
39
39
40
40
@@ -49,7 +49,7 @@ function cleanupTemp() {
49
49
<pre><codeclass="javascript">
50
50
51
51
execa.shell('rm -rf ' + path.join(__dirname, "temp")); // NOT OK
52
-
execa.shellSync('rm -rf ' + path.join(__dirname, "temp")); // NOT OK
52
+
execa.shellSync(<strong>'rm -rf ' + path.join(__dirname, "temp")</strong>); // NOT OK
Copy file name to clipboardExpand all lines: extensions/ql-vscode/test/pure-tests/remote-queries/markdown-generation/interpreted-results/data/results-repo2.md
0 commit comments