Merge pull request #1757 from spotify/rugvip/typefix
yarn.lock,cli: bump failing type deps + run tsc after plugin creation in e2e test
This commit is contained in:
@@ -33,7 +33,7 @@ export class EnvironmentHandler implements AuthProviderRouteHandlers {
|
||||
): AuthProviderRouteHandlers | undefined {
|
||||
const env = req.query.env?.toString();
|
||||
|
||||
if (this.providers.hasOwnProperty(env)) {
|
||||
if (env && this.providers.hasOwnProperty(env)) {
|
||||
return this.providers[env];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user