Skip to content

Commit

Permalink
Minor lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gingi committed Jul 1, 2022
1 parent b834cd6 commit ff54e75
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/client/proxy/proxy-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ export interface ProxySettingConfiguration {
credentials: ProxyCredentials | null;
}

function allowInsecureRequest() {
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
}

@Injectable()
export class ProxySettingsManager {
private _settings = new BehaviorSubject<ProxySettingConfiguration | null>(null);
Expand All @@ -36,7 +32,7 @@ export class ProxySettingsManager {
return this._settings.pipe(
filter(x => x !== null),
take(1),
map(x => x!.settings),
map(x => x?.settings),
).toPromise();
}

Expand Down

0 comments on commit ff54e75

Please sign in to comment.