Skip to content

Commit

Permalink
replace console.log with tl.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
EzzhevNikita committed Sep 24, 2020
1 parent 705363c commit bcaf338
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Tasks/BashV3/bash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async function run() {
};

process.on("SIGINT", () => {
console.log('Started cancellation of executing script');
tl.debug('Started cancellation of executing script');
bash.killChildProcess();
});

Expand Down Expand Up @@ -163,7 +163,7 @@ async function run() {
* as we already have message after operation cancellation, we can avoid processing null code here.
*/
if (exitCode === null) {
console.log('Script execution cancelled');
tl.debug('Script execution cancelled');
return;
}

Expand Down
4 changes: 2 additions & 2 deletions Tasks/CmdLineV2/cmdline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function run() {
}

process.on("SIGINT", () => {
console.log('Started cancellation of executing script');
tl.debug('Started cancellation of executing script');
bash.killChildProcess();
});

Expand All @@ -84,7 +84,7 @@ async function run() {
* as we already have message after operation cancellation, we can avoid processing null code here.
*/
if (exitCode === null) {
console.log('Script execution cancelled');
tl.debug('Script execution cancelled');
return;
}

Expand Down

0 comments on commit bcaf338

Please sign in to comment.