Skip to content

Commit

Permalink
Docs: prettify modified_files list in pr
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Apr 18, 2021
1 parent f9fd463 commit ecce71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const src = danger.git.fileMatch('src/*');
const tests = danger.git.fileMatch('tests/*');
const system = danger.git.fileMatch('.*', '.*/**', 'LICENSE.md', 'package-lock.json', 'package.json');
const isOwner = danger.github.pr.user.login === danger.github.thisPR.owner;
const modifiedList = danger.git.modified_files.join('- ');
const modifiedList = danger.git.modified_files.join('\n - ');

export default async function () {
message(`Changed Files in this PR: \n - ${modifiedList}`);
Expand Down

0 comments on commit ecce71a

Please sign in to comment.