Skip to content

Commit

Permalink
chore: removed plugin scan messages & initialize new version messages (
Browse files Browse the repository at this point in the history
  • Loading branch information
renebrandel authored and cjihrig-aws committed Jul 12, 2021
1 parent 59ab56a commit 68b0e3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/amplify-cli/src/plugin-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,8 @@ export function getAllPluginNames(pluginPlatform: PluginPlatform): Set<string> {
}

export async function scan(pluginPlatform?: PluginPlatform): Promise<PluginPlatform> {
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.');
Expand Down
3 changes: 0 additions & 3 deletions packages/amplify-cli/src/utils/post-install-initialization.ts
Original file line number Diff line number Diff line change
@@ -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());
Expand Down Expand Up @@ -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) => {
Expand Down

0 comments on commit 68b0e3b

Please sign in to comment.