Commit 60fa3af
authored
chore: replace var with let/const in isRealPathSafe (#135)
## Summary
- Replace `var` with `let`/`const` in `isRealPathSafe()` in
`lib/utils.js` to fix 6 eslint `no-var` errors introduced by the
GHSA-4c3q-x735-j3r5 fix.
## Test plan
- [x] `npm run lint` passes with 0 errors1 parent 40d5f1f commit 60fa3af
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments