Skip to content

Commit

Permalink
Fix PoliCheck issues (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Sep 18, 2023
1 parent bda8f3c commit 8b07a3c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@

"mochaExplorer.ui": "tdd",
"testExplorer.useNativeTesting": true,
"mochaExplorer.files": "out/tests/all.test.js"
"mochaExplorer.files": "out/tests/all.test.js",
"sarif-viewer.connectToGithubCodeScanning": "off"
}
2 changes: 1 addition & 1 deletion test-cases/first-mate/fixtures/latex.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"name": "punctuation.definition.arguments.begin.latex"
}
},
"comment": "this works OK with all kinds of crazy stuff as long as section is one line",
"comment": "this works OK with all kinds of ridiculous stuff as long as the section is one line",
"contentName": "entity.name.section.latex",
"end": "\\}",
"endCaptures": {
Expand Down
6 changes: 3 additions & 3 deletions test-cases/first-mate/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@
"grammarScopeName": "source.ruby",
"lines": [
{
"line": "%Q+matz had some #{%Q-crazy ideas-} for ruby syntax+ # damn.",
"line": "%Q+matz had some #{%Q-incredible ideas-} for ruby syntax+ # wow.",
"tokens": [
{
"value": "%Q+",
Expand Down Expand Up @@ -1268,7 +1268,7 @@
]
},
{
"value": "crazy ideas",
"value": "incredible ideas",
"scopes": [
"source.ruby",
"string.quoted.other.literal.upper.ruby",
Expand Down Expand Up @@ -1328,7 +1328,7 @@
]
},
{
"value": " damn.",
"value": " wow.",
"scopes": [
"source.ruby",
"comment.line.number-sign.ruby"
Expand Down
2 changes: 1 addition & 1 deletion test-cases/onigtests/fixtures/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -76860,7 +76860,7 @@ var ts;
reportFileNamesDifferOnlyInCasingError(fileName, file_1.fileName, refFile, refPos, refEnd);
}
// If the file was previously found via a node_modules search, but is now being processed as a root file,
// then everything it sucks in may also be marked incorrectly, and needs to be checked again.
// then everything it takes in may also be marked incorrectly, and needs to be checked again.
if (file_1 && sourceFilesFoundSearchingNodeModules.get(file_1.path) && currentNodeModulesDepth === 0) {
sourceFilesFoundSearchingNodeModules.set(file_1.path, false);
if (!options.noResolve) {
Expand Down

0 comments on commit 8b07a3c

Please sign in to comment.