Commit db0bd53
fix(web): Resolve variable shadowing in getFileSourceApi
Rename local `source` variable (git file content) to `fileContent` to
avoid shadowing the `source` parameter, which caused a TypeScript
"Block-scoped variable used before declaration" error.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 69d8c28 commit db0bd53
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments