Skip to content

Commit

Permalink
chore: add loglevel
Browse files Browse the repository at this point in the history
  • Loading branch information
anc95 committed Nov 5, 2024
1 parent 8d331c3 commit 37de235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -150462,7 +150462,7 @@ const robot = (app) => {
const ignoreList = (process.env.IGNORE || process.env.ignore || '')
.split('\n')
.filter((v) => v !== '');
const ignorePatterns = (process.env.IGNORE_PATTERNS || '').split(',');
const ignorePatterns = (process.env.IGNORE_PATTERNS || '').split(',').filter((v) => Boolean(v.trim()));
const filesNames = files?.map((file) => file.filename) || [];
loglevel_1.default.debug('ignoreList:', ignoreList);
loglevel_1.default.debug('ignorePatterns:', ignorePatterns);
Expand Down
2 changes: 1 addition & 1 deletion src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const robot = (app: Probot) => {
const ignoreList = (process.env.IGNORE || process.env.ignore || '')
.split('\n')
.filter((v) => v !== '');
const ignorePatterns = (process.env.IGNORE_PATTERNS || '').split(',')
const ignorePatterns = (process.env.IGNORE_PATTERNS || '').split(',').filter((v) => Boolean(v.trim()));
const filesNames = files?.map((file) => file.filename) || [];

log.debug('ignoreList:', ignoreList);
Expand Down

0 comments on commit 37de235

Please sign in to comment.