mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)" This reverts commit01df559c18. This reverts commit46301339b7* ci: fix remote compiler for sdl-scan * chore: fix remote/.yarnrc * chore: fix build/npm/postinstall.js * chore: rm crash reporter from shared process * chore: rm crash reporter from ext host * chore: fix build/lib/layersChecker.ts * :chore: preserve some more changes * fix tests Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
This commit is contained in:
@@ -36,7 +36,7 @@ function getHTTPRequestService(): RequestService {
|
||||
|
||||
function getFileRequestService(): RequestService {
|
||||
return {
|
||||
getContent(location: string, encoding?: BufferEncoding) {
|
||||
getContent(location: string, encoding?: string) {
|
||||
return new Promise((c, e) => {
|
||||
const uri = Uri.parse(location);
|
||||
fs.readFile(uri.fsPath, encoding, (err, buf) => {
|
||||
|
||||
Reference in New Issue
Block a user