Commit b8fa7f5
Tajudeen
Fix electronOverride declaration in gulpfile.vscode.js
The previous implementation broke the method chain by inserting the
electronOverride declaration in the middle of the pipe chain. This
caused a SyntaxError: "Identifier 'electronOverride' has already been declared".
Fixed by:
- Moving electronOverride declaration before the let result statement
- Using const instead of let for electronOverride (linter requirement)
- Ensuring the method chain remains intact
- Properly declaring variables before they are used in the pipe chain
This allows custom Electron repositories to be specified via
VSCODE_ELECTRON_REPOSITORY and VSCODE_ELECTRON_TAG environment
variables for alternative architectures (riscv64, ppc64le, loong64).1 parent 0447260 commit b8fa7f5
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | 372 | | |
378 | 373 | | |
379 | | - | |
| 374 | + | |
380 | 375 | | |
381 | 376 | | |
382 | 377 | | |
| |||
385 | 380 | | |
386 | 381 | | |
387 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
388 | 387 | | |
389 | 388 | | |
390 | 389 | | |
| |||
0 commit comments