Skip to content

Commit

Permalink
improvement(build), make the env-id more prominent (#9283)
Browse files Browse the repository at this point in the history
By colorizing it using `chalk.cyan`.
  • Loading branch information
davidfirst authored Nov 1, 2024
1 parent 947ce06 commit 4ea5c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scopes/pipelines/builder/builder.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class BuilderService implements EnvService<BuildServiceResults, string> {
);
const capsuleNetwork = await this.isolator.isolateComponents(componentIds, isolateOptions);
capsuleNetwork._originalSeeders = originalSeedersOfThisEnv;
const msg = `building ${originalSeedersOfThisEnv.length} components of env "${executionContext.id}"`;
const msg = `building ${chalk.cyan(originalSeedersOfThisEnv.length.toString())} components of env ${chalk.cyan(executionContext.id)}`;
const extraDetails = `original seeders of this env: ${originalSeedersOfThisEnv.length}, graph of this env: ${capsuleNetwork.seedersCapsules.length}, graph total (include other envs): ${capsuleNetwork.graphCapsules.length}`;
this.logger.console(`${msg}. ${chalk.dim(extraDetails)}`);
const buildContext = Object.assign(executionContext, {
Expand Down

0 comments on commit 4ea5c23

Please sign in to comment.