Commit bf5d63c
authored
Fix
This fixes an issue where `path.resolve()` resolves using the CWD (which
is usually the target project path) instead of the directory of the
script itself.
The current behavior [causes issues with the Closure
compiler](godotengine/godot#107460 (comment)),
as stubs are erroneously created instead of being skipped in
`src/shell.js`. Closure then complains that variables are declared
twice.
The issue was caused by #23348 which changed the logic of the search.makeRemovedFSAssert() resolved path (#24567)1 parent c38fe09 commit bf5d63c
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
921 | 922 | | |
922 | 923 | | |
923 | 924 | | |
924 | | - | |
| 925 | + | |
925 | 926 | | |
926 | 927 | | |
927 | 928 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16234 | 16234 | | |
16235 | 16235 | | |
16236 | 16236 | | |
| 16237 | + | |
| 16238 | + | |
| 16239 | + | |
| 16240 | + | |
| 16241 | + | |
| 16242 | + | |
| 16243 | + | |
| 16244 | + | |
| 16245 | + | |
| 16246 | + | |
| 16247 | + | |
| 16248 | + | |
| 16249 | + | |
| 16250 | + | |
| 16251 | + | |
0 commit comments