Skip to content

Commit

Permalink
Remove tasks start and exit with code 0 notifications
Browse files Browse the repository at this point in the history
Signed-off-by: Amiram Wingarten <amiram.wingarten@sap.com>
  • Loading branch information
amiramw committed Aug 9, 2020
1 parent e95311d commit 813644f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/task/src/browser/task-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class TaskService implements TaskConfigurationClient {
});
const taskConfig = event.config;
const taskIdentifier = taskConfig ? this.getTaskIdentifier(taskConfig) : event.taskId.toString();
this.messageService.info(`Task '${taskIdentifier}' has been started.`);
console.log(`Task '${taskIdentifier}' has been started.`);
});

this.taskWatcher.onOutputProcessed(async (event: TaskOutputProcessedEvent) => {
Expand Down Expand Up @@ -302,7 +302,7 @@ export class TaskService implements TaskConfigurationClient {
if (event.code !== undefined) {
const message = `Task '${taskIdentifier}' has exited with code ${event.code}.`;
if (event.code === 0) {
this.messageService.info(message);
console.log(message);
} else {
const eventTaskConfig = event.config;
if (eventTaskConfig && eventTaskConfig.presentation && eventTaskConfig.presentation.reveal === RevealKind.Silent && event.terminalId) {
Expand Down

0 comments on commit 813644f

Please sign in to comment.