From 68b0e3bcdb1900632cc2fd879d98866f73aefab2 Mon Sep 17 00:00:00 2001 From: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Date: Tue, 22 Jun 2021 14:29:55 -0700 Subject: [PATCH] chore: removed plugin scan messages & initialize new version messages (#7508) --- packages/amplify-cli/src/plugin-manager.ts | 2 -- packages/amplify-cli/src/utils/post-install-initialization.ts | 3 --- 2 files changed, 5 deletions(-) diff --git a/packages/amplify-cli/src/plugin-manager.ts b/packages/amplify-cli/src/plugin-manager.ts index 3cb087cd43f..6f0fc45e35e 100644 --- a/packages/amplify-cli/src/plugin-manager.ts +++ b/packages/amplify-cli/src/plugin-manager.ts @@ -133,10 +133,8 @@ export function getAllPluginNames(pluginPlatform: PluginPlatform): Set { } export async function scan(pluginPlatform?: PluginPlatform): Promise { - print.info('Scanning for plugins...'); try { const result = await scanPluginPlatform(pluginPlatform); - print.info('Plugin scan successful'); return result; } catch (e) { print.error('Plugin scan failed.'); diff --git a/packages/amplify-cli/src/utils/post-install-initialization.ts b/packages/amplify-cli/src/utils/post-install-initialization.ts index f3eb0ebdab8..3ed59fc9d31 100644 --- a/packages/amplify-cli/src/utils/post-install-initialization.ts +++ b/packages/amplify-cli/src/utils/post-install-initialization.ts @@ -1,14 +1,12 @@ import { GetPackageAssetPaths, pathManager } from 'amplify-cli-core'; import * as fs from 'fs-extra'; import * as path from 'path'; -import { print } from '../context-extensions'; /** * This function is run first thing after a new Amplify installation * It copies some assets needed by dependency packages to the .amplify folder */ export const postInstallInitialization = async () => { - print.info(`Initializing new Amplify CLI version...`); // clean any previous libs await fs.remove(pathManager.getAmplifyLibRoot()); await fs.ensureDir(pathManager.getAmplifyLibRoot()); @@ -37,7 +35,6 @@ export const postInstallInitialization = async () => { }), ); delete process.env.AMPLIFY_SUPPRESS_NO_PKG_LIB; - print.success('Done initializing new version.'); }; const resolvePackageRoot = (packageName: string) => {