Skip to content

Commit

Permalink
use this.log instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankatliarchuk committed Oct 29, 2022
1 parent 98fd3f0 commit 886616b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/runner/Executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export class Executor {

if (!hasMessages || this.options.removePreviousComments) {
if (process.env["DANGER_SKIP_WHEN_EMPTY"] === "true") {
this.d(`Skip posting to platform ${this.platform.name}.`)
this.log(`Skip posting to platform ${this.platform.name}.`)
} else {
if (!hasMessages) {
this.log(`Found no issues or messages from Danger. Removing any existing messages on ${this.platform.name}.`)
Expand Down

0 comments on commit 886616b

Please sign in to comment.