Skip to content

Commit

Permalink
Lint craziness
Browse files Browse the repository at this point in the history
  • Loading branch information
demmings committed Feb 1, 2024
1 parent 372f861 commit baee9a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions coverage/tests.lcov
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-------------------|---------|----------|---------|---------|---------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------|---------|----------|---------|---------|---------------------------------------
All files | 95.8 | 94.37 | 94.52 | 95.8 |
All files | 95.8 | 94.37 | 94.38 | 95.8 |
JoinTables.js | 99.7 | 98.07 | 100 | 99.7 | 291,579
ScriptSettings.js | 90.72 | 75 | 88.88 | 90.72 | 51-52,81-83,88-90,100-103,135-136
Select2Object.js | 96.73 | 89.47 | 100 | 96.73 | 75-76,101-103
Expand All @@ -10,12 +10,12 @@ All files | 95.8 | 94.37 | 94.52 | 95.8 |
SqlTest.js | 93.45 | 94.92 | 89.76 | 93.45 | ...4064,4797-4801,4812-4815,4818-4829
Table.js | 98.71 | 88.46 | 100 | 98.71 | 77-78,158-160,163-164
TableData.js | 83.58 | 68.08 | 83.33 | 83.58 | ...28,363-364,391-392,402-404,410-413
Views.js | 98.22 | 96.28 | 96.73 | 98.22 | ...2011,2019-2030,2180,2316,2480-2481
Views.js | 98.22 | 96.28 | 96.21 | 98.22 | ...2011,2019-2030,2180,2316,2480-2481
-------------------|---------|----------|---------|---------|---------------------------------------
-------------------|---------|----------|---------|---------|---------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------|---------|----------|---------|---------|---------------------------------------
All files | 95.8 | 94.37 | 94.52 | 95.8 |
All files | 95.8 | 94.37 | 94.38 | 95.8 |
JoinTables.js | 99.7 | 98.07 | 100 | 99.7 | 291,579
ScriptSettings.js | 90.72 | 75 | 88.88 | 90.72 | 51-52,81-83,88-90,100-103,135-136
Select2Object.js | 96.73 | 89.47 | 100 | 96.73 | 75-76,101-103
Expand All @@ -24,7 +24,7 @@ All files | 95.8 | 94.37 | 94.52 | 95.8 |
SqlTest.js | 93.45 | 94.92 | 89.76 | 93.45 | ...4064,4797-4801,4812-4815,4818-4829
Table.js | 98.71 | 88.46 | 100 | 98.71 | 77-78,158-160,163-164
TableData.js | 83.58 | 68.08 | 83.33 | 83.58 | ...28,363-364,391-392,402-404,410-413
Views.js | 98.22 | 96.28 | 96.73 | 98.22 | ...2011,2019-2030,2180,2316,2480-2481
Views.js | 98.22 | 96.28 | 96.21 | 98.22 | ...2011,2019-2030,2180,2316,2480-2481
-------------------|---------|----------|---------|---------|---------------------------------------
TN:
SF:JoinTables.js
Expand Down Expand Up @@ -11586,6 +11586,7 @@ FN:791,extractStringConstant
FN:806,dateToMs
FN:834,getColumnTitles
FN:852,getComparisonFunction
FN:853,keep
FN:857,keep
FN:861,keep
FN:865,keep
Expand Down Expand Up @@ -11736,7 +11737,7 @@ FN:2950,get isPrimaryTable
FN:2959,setTableInfo
FN:2969,getData
FN:2980,getAllExtendedAliasNames
FNF:184
FNF:185
FNH:178
FNDA:350,SelectTables
FNDA:342,updateSelectedFields
Expand Down Expand Up @@ -11772,6 +11773,7 @@ FNDA:302,extractStringConstant
FNDA:692,dateToMs
FNDA:167,getColumnTitles
FNDA:384,getComparisonFunction
FNDA:0,keep
FNDA:2383,keep
FNDA:169,keep
FNDA:99,keep
Expand Down
2 changes: 1 addition & 1 deletion dist/gssql.js
Original file line number Diff line number Diff line change
Expand Up @@ -2516,7 +2516,7 @@ class FieldComparisons {
}}
*/
static getComparisonFunction(operator) {
let keep;
let keep =(leftValue, rightValue) => { return false };

switch (operator.toUpperCase()) {
case "=":
Expand Down
2 changes: 1 addition & 1 deletion src/Views.js
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ class FieldComparisons {
}}
*/
static getComparisonFunction(operator) {
let keep;
let keep =(leftValue, rightValue) => { return false };

switch (operator.toUpperCase()) {
case "=":
Expand Down

0 comments on commit baee9a5

Please sign in to comment.