Skip to content

Commit

Permalink
fix: print the output of Run and Test actions on the info log level (#…
Browse files Browse the repository at this point in the history
…5059)

* chore: avoid using old glossary in the logs

* fix: print the output of Run and Test actions on the info log level
  • Loading branch information
vvagaytsev authored Sep 19, 2023
1 parent d0bb135 commit 30e6fa0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/exec/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ execDeploy.addHandler("deploy", async (params) => {
})

if (result.outputLog) {
const prefix = `Finished deploying service ${chalk.white(action.name)}. Here is the output:`
const prefix = `Finished deploying ${chalk.white(action.name)}. Here is the output:`
log.verbose(
renderMessageWithDivider({
prefix,
Expand Down
4 changes: 2 additions & 2 deletions core/src/plugins/exec/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ execRun.addHandler("run", async ({ artifactsPath, log, action, ctx }) => {
const { chalk } = sdk.util

if (outputLog) {
const prefix = `Finished running task ${chalk.white(action.name)}. Here is the full output:`
log.verbose(
const prefix = `Finished running ${chalk.white(action.name)}. Here is the full output:`
log.info(
renderMessageWithDivider({
prefix,
msg: outputLog,
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/exec/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ execTest.addHandler("run", async ({ log, action, artifactsPath, ctx }) => {

if (result.outputLog) {
const prefix = `Finished executing ${chalk.white(action.key())}. Here is the full output:`
log.verbose(
log.info(
renderMessageWithDivider({
prefix,
msg: result.outputLog,
Expand Down

0 comments on commit 30e6fa0

Please sign in to comment.