Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms authored and Simon Emms committed Dec 10, 2021
1 parent c1846ab commit 5c2178a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/server/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { RateLimiterConfig } from './auth/rate-limiter';
import { CodeSyncConfig } from './code-sync/code-sync-service';
import { ChargebeeProviderOptions, readOptionsFromFile } from "@gitpod/gitpod-payment-endpoint/lib/chargebee";
import * as fs from 'fs';
import * yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import { log, LogrusLogLevel } from '@gitpod/gitpod-protocol/lib/util/logging';
import { filePathTelepresenceAware, KubeStage, translateLegacyStagename } from '@gitpod/gitpod-protocol/lib/env';
import { BrandingParser } from './branding-parser';
Expand Down Expand Up @@ -185,7 +185,7 @@ export namespace ConfigFile {
rawProviderConfigFiles.map<AuthProviderParams>((providerFile) => {
const rawProviderData = fs.readFileSync(providerFile, "utf-8")

return yaml.load(rawProviderData)
return yaml.load(rawProviderData) as AuthProviderParams
})
authProviderConfigs.push(...authProviderConfigFiles);
}
Expand Down

0 comments on commit 5c2178a

Please sign in to comment.