mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 11:49:38 +00:00
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0 * Revert "chore: revert to electron@13 (#143851)" This reverts commitdf645f1450. * chore: bump electron@17.1.0 * Revert "ci: fix build with latest node-gyp" This reverts commitc3e948aa30. * chore: revert ci changes for node v16 * chore: update yarn.lock * chore: bump electron@17.1.1
This commit is contained in:
@@ -36,7 +36,7 @@ function getHTTPRequestService(): RequestService {
|
||||
|
||||
function getFileRequestService(): RequestService {
|
||||
return {
|
||||
getContent(location: string, encoding?: string) {
|
||||
getContent(location: string, encoding?: BufferEncoding) {
|
||||
return new Promise((c, e) => {
|
||||
const uri = Uri.parse(location);
|
||||
fs.readFile(uri.fsPath, encoding, (err, buf) => {
|
||||
|
||||
Reference in New Issue
Block a user