Skip to content

Commit 34f2531

Browse files
authored
Merge pull request #101 from boesing/bugfix/debug-logging
Use `core.isDebug` in combination with `info` for debug logging
2 parents 41f302d + d9e1a3d commit 34f2531

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/action/github.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ export class Github implements Action {
1616
getLogger(): Logger {
1717
return {
1818
debug(message: string): void {
19-
core.debug(message);
19+
if (!core.isDebug()) {
20+
return;
21+
}
22+
23+
core.info(message);
2024
},
2125

2226
info(message: string): void {

0 commit comments

Comments
 (0)