Skip to content

Commit

Permalink
feat: Improve log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Dec 7, 2020
1 parent 9288798 commit e999702
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ export async function run(): Promise<void> {
})();

core.info(`\
[INFO] config_file: ${inps.ConfigFilePath}
[INFO] labelName: ${labelName}
[INFO] labelEvent: ${labelEvent}
[INFO] issueNumber: ${issueNumber}\
[INFO] config file path: ${inps.ConfigFilePath}
[INFO] label name: ${labelName}
[INFO] label event: ${labelEvent}
[INFO] issue number: ${issueNumber}\
`);

const configFilePath = inps.ConfigFilePath;
Expand All @@ -80,7 +80,7 @@ export async function run(): Promise<void> {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const config: any = yaml.safeLoad(fs.readFileSync(configFilePath, 'utf8'));
if (core.isDebug()) {
core.startGroup('Dump Config');
core.startGroup('Dump config');
console.log(config);
core.endGroup();
}
Expand Down

0 comments on commit e999702

Please sign in to comment.