Skip to content

Commit

Permalink
fix(logger): improve summary print. (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem authored Jan 25, 2025
1 parent a3ba516 commit 88b67ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/actions/PilotPerformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class PilotPerformer {
);

if (goalAchieved) {
logger.info(`🛬 Pilot reached goal: "${goal}"! 🎉 Summary:`, {
logger.info(`🛬 Pilot reached goal: "${goal}"! 🎉 Summarizing:\n`, {
message: `${summary}`,
isBold: true,
color: "whiteBright",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/CodeEvaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class CodeEvaluator {
sharedContext: Record<string, any> = {},
): Promise<CodeEvaluationResult> {
const loggerSpinner = logger.startSpinner({
message: `Copilot evaluating code: \n\`\`\`\n${code}\n\`\`\``,
message: `Copilot evaluating code: \n\`\`\`\n${code}\n\`\`\`\n`,
isBold: false,
color: "gray",
});
Expand Down

0 comments on commit 88b67ae

Please sign in to comment.