From 0fe8cdf8e0ef53bcbc55c3f2a09e4f441d55675a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien=20Loix?= Date: Tue, 17 Mar 2020 15:05:11 +0100 Subject: [PATCH] Fix TS issues --- x-pack/plugins/license_management/server/lib/license.ts | 2 +- x-pack/plugins/license_management/server/lib/start_basic.ts | 2 +- x-pack/plugins/license_management/server/lib/start_trial.ts | 2 +- x-pack/plugins/license_management/server/types.ts | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/license_management/server/lib/license.ts b/x-pack/plugins/license_management/server/lib/license.ts index 4585eb6e4d778..d36365eb62a7e 100644 --- a/x-pack/plugins/license_management/server/lib/license.ts +++ b/x-pack/plugins/license_management/server/lib/license.ts @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -import { LicensingPluginSetup } from '../../../../../plugins/licensing/server'; +import { LicensingPluginSetup } from '../../../licensing/server'; import { CallAsCurrentUser } from '../types'; const getLicensePath = (acknowledge: boolean) => diff --git a/x-pack/plugins/license_management/server/lib/start_basic.ts b/x-pack/plugins/license_management/server/lib/start_basic.ts index 83df50345fc78..d48192c6ca32e 100644 --- a/x-pack/plugins/license_management/server/lib/start_basic.ts +++ b/x-pack/plugins/license_management/server/lib/start_basic.ts @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -import { LicensingPluginSetup } from '../../../../../plugins/licensing/server'; +import { LicensingPluginSetup } from '../../../licensing/server'; import { CallAsCurrentUser } from '../types'; const getStartBasicPath = (acknowledge: boolean) => diff --git a/x-pack/plugins/license_management/server/lib/start_trial.ts b/x-pack/plugins/license_management/server/lib/start_trial.ts index 0c9a0a514995c..d3e2ba37ec203 100644 --- a/x-pack/plugins/license_management/server/lib/start_trial.ts +++ b/x-pack/plugins/license_management/server/lib/start_trial.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { LicensingPluginSetup } from '../../../../../plugins/licensing/server'; +import { LicensingPluginSetup } from '../../../licensing/server'; import { CallAsCurrentUser } from '../types'; export async function canStartTrial(callAsCurrentUser: CallAsCurrentUser) { diff --git a/x-pack/plugins/license_management/server/types.ts b/x-pack/plugins/license_management/server/types.ts index 9cd3bd2e6798b..37f4781ba1e02 100644 --- a/x-pack/plugins/license_management/server/types.ts +++ b/x-pack/plugins/license_management/server/types.ts @@ -5,8 +5,8 @@ */ import { ScopedClusterClient, IRouter } from 'kibana/server'; -import { LicensingPluginSetup } from '../../../../plugins/licensing/server'; -import { SecurityPluginSetup } from '../../../../plugins/security/server'; +import { LicensingPluginSetup } from '../../licensing/server'; +import { SecurityPluginSetup } from '../../security/server'; import { isEsError } from './lib/is_es_error'; export interface Dependencies {