From 428866870570c9e96e89b57d1b64eda401581052 Mon Sep 17 00:00:00 2001 From: Anan <79961084+ananzh@users.noreply.github.com> Date: Sat, 24 Apr 2021 06:19:04 -0700 Subject: [PATCH] [Bug]Fix version conflict for plugins (#312) --- packages/osd-plugin-helpers/src/cli.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/osd-plugin-helpers/src/cli.ts b/packages/osd-plugin-helpers/src/cli.ts index 23d5273b5d1e..158e2578bde9 100644 --- a/packages/osd-plugin-helpers/src/cli.ts +++ b/packages/osd-plugin-helpers/src/cli.ts @@ -32,7 +32,6 @@ import Path from 'path'; -import semver from 'semver'; import { RunWithCommands, createFlagError, createFailError } from '@osd/dev-utils'; import { findOpenSearchDashboardsJson } from './find_opensearch_dashboards_json'; @@ -94,18 +93,6 @@ export function runCli() { plugin ); - if (semver.satisfies(opensearchDashboardsVersion, '<7.9')) { - log.error( - 'These tools are not designed to work with version before 7.9, please checkout an earlier version of OpenSearch Dashboards to build your plugin' - ); - process.exit(1); - } - if (semver.satisfies(opensearchDashboardsVersion, '~7.9.0')) { - log.warning( - 'These tools might work with 7.9 versions, but there are known workarounds required. See https://github.com/elastic/kibana/issues/82466 for more info' - ); - } - const sourceDir = plugin.directory; const buildDir = Path.resolve( plugin.directory,