From 5c2178aea8fc4eba496d63fb92dfac085e0e8414 Mon Sep 17 00:00:00 2001 From: Simon Emms Date: Fri, 10 Dec 2021 16:45:32 +0000 Subject: [PATCH] stuff --- components/server/src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/server/src/config.ts b/components/server/src/config.ts index d52ae0b879f8a4..94de3ba5daddcd 100644 --- a/components/server/src/config.ts +++ b/components/server/src/config.ts @@ -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'; @@ -185,7 +185,7 @@ export namespace ConfigFile { rawProviderConfigFiles.map((providerFile) => { const rawProviderData = fs.readFileSync(providerFile, "utf-8") - return yaml.load(rawProviderData) + return yaml.load(rawProviderData) as AuthProviderParams }) authProviderConfigs.push(...authProviderConfigFiles); }