Skip to content

Commit caa4a25

Browse files
committed
Minor lint fixes
1 parent 663e1f1 commit caa4a25

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/client/proxy/proxy-settings.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ export interface ProxySettingConfiguration {
1515
credentials: ProxyCredentials | null;
1616
}
1717

18-
function allowInsecureRequest() {
19-
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
20-
}
21-
2218
@Injectable()
2319
export class ProxySettingsManager {
2420
private _settings = new BehaviorSubject<ProxySettingConfiguration | null>(null);
@@ -36,7 +32,7 @@ export class ProxySettingsManager {
3632
return this._settings.pipe(
3733
filter(x => x !== null),
3834
take(1),
39-
map(x => x!.settings),
35+
map(x => x?.settings),
4036
).toPromise();
4137
}
4238

0 commit comments

Comments
 (0)