Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PoliCheck issues #212

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading