Skip to content

Commit d6cfbf2

Browse files
committed
fix: updated js-lint to 0.2.6, fixed a few linting warnings
1 parent bad1654 commit d6cfbf2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"node-gyp-build": "4.4.0"
5252
},
5353
"devDependencies": {
54-
"@matrixai/lint": "^0.2.4",
54+
"@matrixai/lint": "^0.2.6",
5555
"@swc/core": "1.3.82",
5656
"@swc/jest": "^0.2.29",
5757
"@types/jest": "^29.5.2",

src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function parsePath(input: Buffer): [Array<Buffer>, Buffer] {
171171
[output_, input_] = parseKeyActual(input_);
172172
output = output.concat(output_);
173173
return [output, input_];
174-
} catch (e) {
174+
} catch {
175175
let output: Array<Buffer> = [];
176176
let input_: Buffer = input;
177177
let output_: Array<Buffer>;
@@ -194,7 +194,7 @@ function parseLevels(
194194
[output_, input_] = parseLevels(input_);
195195
output = output.concat(output_);
196196
return [output, input_];
197-
} catch (e) {
197+
} catch {
198198
return [[], input];
199199
}
200200
}

0 commit comments

Comments
 (0)