Skip to content

Commit

Permalink
Merge pull request #425 from garden-io/fix-build-log-line
Browse files Browse the repository at this point in the history
fix: minor logging issue
  • Loading branch information
eysi09 committed Dec 9, 2018
2 parents 55646b3 + 61e4428 commit cbef539
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion garden-service/src/tasks/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class BuildTask extends BaseTask {

const log = this.log.info({
section: this.getName(),
msg: `Building version ${module.version}`,
msg: `Building version ${module.version.versionString}...`,
status: "active",
})

Expand Down
4 changes: 2 additions & 2 deletions garden-service/src/tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class DeployTask extends BaseTask {
async process(): Promise<ServiceStatus> {
const log = this.log.info({
section: this.service.name,
msg: "Checking status",
msg: "Checking status...",
status: "active",
})

Expand Down Expand Up @@ -151,7 +151,7 @@ export class DeployTask extends BaseTask {
throw err
}

log.setSuccess({ msg: chalk.green(`Ready`), append: true })
log.setSuccess({ msg: chalk.green(`Done (took ${log.getDuration(1)} sec)`), append: true })
return result
}
}

0 comments on commit cbef539

Please sign in to comment.