Skip to content

Commit

Permalink
fix: cli duplicate log (#11658)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayzhang authored May 20, 2024
1 parent 4744714 commit 22dfe64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/fx-core/src/component/coordinator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -776,8 +776,9 @@ class Coordinator {
void ctx.ui!.showMessage("info", msg, false);
}
}
ctx.logProvider.info(msg);

if (ctx.platform !== Platform.CLI) {
ctx.logProvider.info(msg);
}
return ok(output);
}

Expand Down

0 comments on commit 22dfe64

Please sign in to comment.