We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 022f723 commit 24a6482Copy full SHA for 24a6482
.github/workflows/unit-test.yml
@@ -106,7 +106,7 @@ jobs:
106
- run: npm run build
107
- run: npm run test:ci
108
- name: Upload coverage
109
- uses: codecov/codecov-action@v5
+ uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5
110
with:
111
files: ./library/.tap/report/lcov.info
112
fail_ci_if_error: true
library/vulnerabilities/path-traversal/detectPathTraversal.ts
@@ -110,7 +110,7 @@ function parseAsFileUrlWin(path: string) {
// Replace backslashes with forward slashes
return res.replace(/\\/g, "/");
113
- } catch (e) {
+ } catch {
114
//
115
}
116
return undefined;
0 commit comments