Skip to content

Commit 24a6482

Browse files
committed
Fix linting
1 parent 022f723 commit 24a6482

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
- run: npm run build
107107
- run: npm run test:ci
108108
- name: Upload coverage
109-
uses: codecov/codecov-action@v5
109+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5
110110
with:
111111
files: ./library/.tap/report/lcov.info
112112
fail_ci_if_error: true

library/vulnerabilities/path-traversal/detectPathTraversal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function parseAsFileUrlWin(path: string) {
110110

111111
// Replace backslashes with forward slashes
112112
return res.replace(/\\/g, "/");
113-
} catch (e) {
113+
} catch {
114114
//
115115
}
116116
return undefined;

0 commit comments

Comments
 (0)