mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 06:51:53 +01:00
auto-fixed prefer-const violation
This commit is contained in:
@@ -65,7 +65,7 @@ export interface RequestService {
|
||||
|
||||
export function getRequestService(handledSchemas: string[], connection: Connection, runtime: RuntimeEnvironment): RequestService {
|
||||
const builtInHandlers: { [protocol: string]: RequestService | undefined } = {};
|
||||
for (let protocol of handledSchemas) {
|
||||
for (const protocol of handledSchemas) {
|
||||
if (protocol === 'file') {
|
||||
builtInHandlers[protocol] = runtime.file;
|
||||
} else if (protocol === 'http' || protocol === 'https') {
|
||||
|
||||
Reference in New Issue
Block a user